Graphics and memory.



  • Just wondering , I am making an interface with pngs , that can be resized to 200%. So the resolution is 1468x928. 100% is obviously half that .
    Not a problem as such so far , but ... when I make a png filmstrip for one of my knobs , admittedly a large one , just that one knob is 51 mb.

    Not sure about what effect this has on memory or cpu requirements when loading moving the graphics if they are so large ?

    Concerned I am shooting myself in the foot or has anyone had any experience with this ?



  • @lalalandsynth

    https://docs.hise.audio/working-with-hise/project-management/projects-folders/images.html

    Apparently, @orange speaks about a max image folder size of 50Mb (don't know if it's still valid though)
    https://forum.hise.audio/topic/1229/pultec-eq-model-beta-testers-needed

    For my part, I'm going all vectors. But in case of using PNGs, I wouldn't have 95% of my plugin size being only for graphics...



  • @ustk Yes, I suspected this might cause a problem , maybe I will just have it resizeable to 125 % ? If I do that i can keep my images folder at 30, 40 mb.

    I am working on vectors as well, just dont have the skills yet, also rlottie seems to crash on most of my more involved vector animations, so i hit a wall there.



  • Yeah. Like @ustk said, currently Hise has a ~50MB limitation for embedded files (images and audio files). Total image size + Audio file size should be max. ~50MB.

    Also image optimization (size reduction) is not working here. Because even when you optimize your images, they will be decompressed and stored in memory as 32 bit Bitmaps, so the image size will be increased again.

    Also when your total image + audio file size is bigger than ~50MB, you will probably get "Compiler is out of heap space" error too, while you're compiling your project.



  • @orange I am glad i asked 🙂 Need to take some steps back but nothing major.



  • @orange As for the max file size , if making an impulse reverb that exceeds the 50 mb limit in impulse files , they need to be installed separately but are they installed as wavs ?



  • @lalalandsynth said in Graphics and memory.:

    @orange As for the max file size , if making an impulse reverb that exceeds the 50 mb limit in impulse files , they need to be installed separately but are they installed as wavs ?

    If your binary resources are too big, you need to exclude the audio files and images from your plugin. You can Set Embed AudioFiles in Plugin to false in the project properties. But in this case the files need to be installed separately. By the way, I haven't tried this procedure before. Normally I embed everything.


Log in to reply
 

13
Online

622
Users

2.5k
Topics

20.3k
Posts