HISE Logo Forum
    • Categories
    • Register
    • Login

    Dynamically call Images instead ImageResources.dat

    Scheduled Pinned Locked Moved Feature Requests
    4 Posts 4 Posters 292 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.
    • Tania GhoshT
      Tania Ghosh
      last edited by

      Dynamically call images (knob.png, Button.png etc)
      So the idea is to Keep the Images folder into \Appdata\Roaming\Company\Product...and put the individual image files here. Instead ImageResources.dat.

      Why ?
      If I create multiple skins/themes the dynamic images(.png files) will be loaded for specific themes what I have chosen. This will be a clean memory management. And If I have >50mb Images I have to keep images as ImageResources.dat format (Other wise Heap Space Error). So It will be a good idea to call images dynamically and load particular images which is only required.

      Many renowned plugins companies use this method. e.g. Sonic Academy, Arturia, Hornet, etc. etc.

      Tania Ghosh

      1 Reply Last reply Reply Quote 1
      • Dan KorneffD
        Dan Korneff
        last edited by

        Would you be able to do this with the new expansion system?

        Dan Korneff - Producer / Mixer / Audio Nerd

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

          Yes, use expansions for that. You don't want actual image files on an end user system.

          A 1 Reply Last reply Reply Quote 0
          • A
            andioak @Christoph Hart
            last edited by

            @Christoph-Hart said in Dynamically call Images instead ImageResources.dat:

            Yes, use expansions for that. You don't want actual image files on an end user system.

            How come? You mean for the ones that accidentally delete stuff? Or cause they have errors loading?

            Wouldn't an image be able to be loaded just like a font is loaded? I got 3 different fonts for mac/Linux/Windows, works well.

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

            48

            Online

            1.7k

            Users

            11.7k

            Topics

            101.8k

            Posts