HISE Logo Forum
    • Categories
    • Register
    • Login

    Problem with image (solved)

    Scheduled Pinned Locked Moved General Questions
    6 Posts 3 Posters 473 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SampleScienceS
      SampleScience
      last edited by SampleScience

      It's probably an easy fix. I'm starting to experiment with Hise and I'm trying to upload an image in my project but it doesn't show up properly. It looks like this:

      https://imgur.com/a/7uqx0bQ

      The image is in my Hise image folder and it's a png file.

      1 Reply Last reply Reply Quote 0
      • S
        SonoLuminus
        last edited by SonoLuminus

        @SampleScience

        Take a look at your size (x,y) and position coordinates in the "Component Size" panel for your Image Object.
        I'm seeing negative coordinates that may be causing your image to be cutoff. Also, ensure that your Image Object size matches your PNG size.

        For example, if your PNG is 600x350, your Image Property Size should be 600 for the width, and 350 for the height, with an X0,Y0 coordinate to start.

        Screen Shot 2019-08-16 at 12.38.24 PM.png

        1 Reply Last reply Reply Quote 0
        • SampleScienceS
          SampleScience
          last edited by

          Thank you for your answer!

          The image size is the same as the Image Object size and it's also the same for the project GUI size. In theory, they should all fit together.

          As for the coordinate, they put themselves at negative values automatically. When I enter 0 in each of them, the image is off-center.

          Could it be a bug?

          S 1 Reply Last reply Reply Quote 0
          • S
            SonoLuminus @SampleScience
            last edited by

            @SampleScience

            Hmm🤔

            I just PM’d you.

            1 Reply Last reply Reply Quote 0
            • SampleScienceS
              SampleScience
              last edited by

              Found the problem: I had Visual Studio 2019 installed alongside the 2017 version. So I uninstalled it and now everything is working fine. Thanks for the support SonoLuminus.

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by Christoph Hart

                Well, that's a weird solution, wouldn't know how having VS2019 around prevents loading of images - are you sure this was the reason?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                46

                Online

                1.7k

                Users

                11.7k

                Topics

                101.8k

                Posts