Dynamically call Images instead ImageResources.dat
-
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.
-
Would you be able to do this with the new expansion system?
-
Yes, use expansions for that. You don't want actual image files on an end user system.
-
@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.