Forum

    • Register
    • Login
    • Search
    • Categories

    Not used PNG´s on interface.

    General Questions
    7
    20
    537
    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.
    • lalalandsynth
      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_SF Y 3 Replies Last reply Reply Quote 0
      • Matt_SF
        Matt_SF @lalalandsynth last edited by

        @lalalandsynth unused images are not compiled into the plugin

        Develop branch
        Win10 & VS17 / Monterey & Xcode 13.2.1

        1 Reply Last reply Reply Quote 1
        • Matt_SF
          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 / Monterey & Xcode 13.2.1

          lalalandsynth DanH 2 Replies Last reply Reply Quote 1
          • lalalandsynth
            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
            • DanH
              DanH @Matt_SF last edited by

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

              Matt_SF 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.healey lalalandsynth 2 Replies Last reply Reply Quote 0
                • d.healey
                  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 Hart 1 Reply Last reply Reply Quote 0
                  • Matt_SF
                    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 / Monterey & Xcode 13.2.1

                    1 Reply Last reply Reply Quote 0
                    • Christoph Hart
                      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.healey 1 Reply Last reply Reply Quote 1
                      • d.healey
                        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
                        • DabDab
                          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?

                          Trance Producer and Presets Designer.

                          lalalandsynth 1 Reply Last reply Reply Quote 0
                          • lalalandsynth
                            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.healey 1 Reply Last reply Reply Quote 0
                            • lalalandsynth
                              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

                              DabDab 1 Reply Last reply Reply Quote 0
                              • d.healey
                                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

                                lalalandsynth 1 Reply Last reply Reply Quote 1
                                • lalalandsynth
                                  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.healey 1 Reply Last reply Reply Quote 0
                                  • d.healey
                                    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

                                    lalalandsynth 1 Reply Last reply Reply Quote 0
                                    • lalalandsynth
                                      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_SF 1 Reply Last reply Reply Quote 0
                                      • Matt_SF
                                        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 / Monterey & Xcode 13.2.1

                                        1 Reply Last reply Reply Quote 2
                                        • DabDab
                                          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?

                                          Trance Producer and Presets Designer.

                                          Christoph Hart 1 Reply Last reply Reply Quote 1
                                          • Christoph Hart
                                            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

                                            18
                                            Online

                                            1.1k
                                            Users

                                            6.7k
                                            Topics

                                            62.1k
                                            Posts