HISE Logo Forum
    • Categories
    • Register
    • Login

    Not used PNG´s on interface.

    Scheduled Pinned Locked Moved General Questions
    20 Posts 7 Posters 975 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.
    • lalalandsynthL
      lalalandsynth
      last edited by

      Are the not used files in the image folder compiled into the plugin ?
      If so it would be useful to remove all "not used" images either from the image folder or the compile.

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

      Matt_SFM Y 3 Replies Last reply Reply Quote 0
      • Matt_SFM
        Matt_SF @lalalandsynth
        last edited by

        @lalalandsynth unused images are not compiled into the plugin

        Develop branch
        Win10 & VS17 / Ventura & Xcode 14. 3

        1 Reply Last reply Reply Quote 1
        • Matt_SFM
          Matt_SF @lalalandsynth
          last edited by

          @lalalandsynth and there an option in the tools menu to 'Check for unreferenced images' but I never used that, my image folder is always full 😁

          Develop branch
          Win10 & VS17 / Ventura & Xcode 14. 3

          lalalandsynthL DanHD 2 Replies Last reply Reply Quote 1
          • lalalandsynthL
            lalalandsynth @Matt_SF
            last edited by

            @matt_sf said in Not used PNG´s on interface.:

            my image folder is always full

            Indeed ! :)

            https://lalalandaudio.com/

            https://lalalandsynth.com/

            https://www.facebook.com/lalalandsynth

            https://www.facebook.com/lalalandsynth

            1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @Matt_SF
              last edited by

              @matt_sf I think I tried that once and it removed all the images!

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              Matt_SFM 1 Reply Last reply Reply Quote 0
              • Y
                yall @lalalandsynth
                last edited by

                @lalalandsynth no they are not. but on the other hand, make sure that the overall size does not exceed 50mb. for this I use online png compressors. on an image of 10mo we can hope me's of 1mo. without degrading the quality. and you can feel it in the fluidity of the vst

                d.healeyD lalalandsynthL 2 Replies Last reply Reply Quote 0
                • d.healeyD
                  d.healey @yall
                  last edited by

                  @yall said in Not used PNG´s on interface.:

                  for this I use online png compressors. on an image of 10mo we can hope me's of 1mo. without degrading the quality.

                  There is no point in compressing your images. Once in a compiled plugin they are loaded into RAM as full bitmaps.

                  https://forum.hise.audio/topic/1806/filmstrip-size-limit/6
                  https://forum.hise.audio/topic/4243/image-sizes
                  https://forum.hise.audio/topic/2436/graphics-and-memory

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  Christoph HartC 1 Reply Last reply Reply Quote 0
                  • Matt_SFM
                    Matt_SF @DanH
                    last edited by

                    @danh said in Not used PNG´s on interface.:

                    @matt_sf I think I tried that once and it removed all the images!

                    Yes IIRC it did the same to me

                    Develop branch
                    Win10 & VS17 / Ventura & Xcode 14. 3

                    1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @d.healey
                      last edited by

                      @d-healey said in Not used PNG´s on interface.:

                      There is no point in compressing your images.

                      Not 100% true, they are embedded into the binary as PNG, so your plugin will be smaller.

                      d.healeyD 1 Reply Last reply Reply Quote 1
                      • d.healeyD
                        d.healey @Christoph Hart
                        last edited by

                        @christoph-hart said in Not used PNG´s on interface.:

                        Not 100% true, they are embedded into the binary as PNG, so your plugin will be smaller.

                        Oo that I did not know, very good!

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        1 Reply Last reply Reply Quote 0
                        • DabDabD
                          DabDab
                          last edited by

                          @lalalandsynth @d-healey @DanH @yall @Matt_SF How do you compress HISE exported plugins? A Simple Gain plugins with 20 kb PNG Knob Strip becomes 27 MB when it is Exported. This is a main Drawback of HISE. Where as core JUCE simple gain Plugins is 7 MB. Why such extra file Size?

                          Bollywood Music Producer and Trance Producer.

                          lalalandsynthL 1 Reply Last reply Reply Quote 0
                          • lalalandsynthL
                            lalalandsynth @yall
                            last edited by lalalandsynth

                            @yall I guess I can go over 50mb using /bigobj.
                            I am currently making a plugin at 200% size and using 200mb of impulses.

                            I would rather not have the images or impulses exposed to the user , but if there are any problems with doing it with everything embedded, do tell. :)

                            https://lalalandaudio.com/

                            https://lalalandsynth.com/

                            https://www.facebook.com/lalalandsynth

                            https://www.facebook.com/lalalandsynth

                            d.healeyD 1 Reply Last reply Reply Quote 0
                            • lalalandsynthL
                              lalalandsynth @DabDab
                              last edited by

                              @dabdab Why is that a drawback ? I mean, does that occupy more memory or are you thinking of download size ?

                              https://lalalandaudio.com/

                              https://lalalandsynth.com/

                              https://www.facebook.com/lalalandsynth

                              https://www.facebook.com/lalalandsynth

                              DabDabD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @lalalandsynth
                                last edited by

                                @lalalandsynth said in Not used PNG´s on interface.:

                                I guess I can go over 50mb using /bigobj.

                                You can also put the image and audio files in a separate .dat file.

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                lalalandsynthL 1 Reply Last reply Reply Quote 1
                                • lalalandsynthL
                                  lalalandsynth @d.healey
                                  last edited by

                                  @d-healey What are the pros and cons of embedding versus a dat file ?
                                  Also , how would I make the dat file if I exclude the image and audio files from the plugin export ?

                                  https://lalalandaudio.com/

                                  https://lalalandsynth.com/

                                  https://www.facebook.com/lalalandsynth

                                  https://www.facebook.com/lalalandsynth

                                  d.healeyD 1 Reply Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @lalalandsynth
                                    last edited by

                                    @lalalandsynth

                                    What are the pros and cons of embedding versus a dat file ?

                                    Smaller plugin size. I don't know but I suspect also in the case of audio files that it doesn't need to load them all into RAM when the plugin is opened but can just load them as they are needed from the data file - @Christoph-Hart is this correct?

                                    Also , how would I make the dat file if I exclude the image and audio files from the plugin export ?

                                    This is all I know - https://forum.hise.audio/topic/2794/audioresources-dat-file?_=1637758415384

                                    Libre Wave - Freedom respecting instruments and effects
                                    My Patreon - HISE tutorials
                                    YouTube Channel - Public HISE tutorials

                                    lalalandsynthL 1 Reply Last reply Reply Quote 0
                                    • lalalandsynthL
                                      lalalandsynth @d.healey
                                      last edited by

                                      @d-healey said in Not used PNG´s on interface.:

                                      This is all I know

                                      I see. If anyone has any further info that would be helpful.

                                      I assumed I would need to copy the audio and image files into the appdata folder BUT I wonder if you select to not embed if it automatically creates these dat files that can then be placed into the appdata files ?
                                      I would guess so.

                                      @d-healey said in Not used PNG´s on interface.:

                                      I suspect also in the case of audio files that it doesn't need to load them all into RAM when the plugin is opened

                                      That would be cool.

                                      https://lalalandaudio.com/

                                      https://lalalandsynth.com/

                                      https://www.facebook.com/lalalandsynth

                                      https://www.facebook.com/lalalandsynth

                                      Matt_SFM 1 Reply Last reply Reply Quote 0
                                      • Matt_SFM
                                        Matt_SF @lalalandsynth
                                        last edited by

                                        @lalalandsynth here you go : https://docs.hise.audio/working-with-hise/menu-reference/export/index.html#export-pooled-files-to-binary-resource

                                        Develop branch
                                        Win10 & VS17 / Ventura & Xcode 14. 3

                                        1 Reply Last reply Reply Quote 2
                                        • DabDabD
                                          DabDab @lalalandsynth
                                          last edited by DabDab

                                          I mean, does that occupy more memory or are you thinking of download size ?

                                          @lalalandsynth In JUCE we can remove unwanted module that is not needed. For Example A simple Delay or Reverb plugin You don't need Juce Crytography, etc etc module, so it reduces file size. But In HISE all module gets compiled during VST /AU export. That is why it produces approx 27-30 MB .dll/VST3/.component Files no matter what kind of Plugins you design. My point is why every modules get compiled when it is not necessary?

                                          Suppose you are making a EQ Plugins. Then what is the point to embed Delay, reverb etc etc modules?

                                          Bollywood Music Producer and Trance Producer.

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

                                            @dabdab said in Not used PNG´s on interface.:

                                            My point is why every modules get compiled when it is not necessary?

                                            Because the bookkeeping and overhead on codebase management doesn't justify a file size difference of a few megabytes.

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

                                            28

                                            Online

                                            1.8k

                                            Users

                                            12.0k

                                            Topics

                                            104.1k

                                            Posts