HISE Logo Forum
    • Categories
    • Register
    • Login

    Crash on Export - png files?

    Scheduled Pinned Locked Moved General Questions
    20 Posts 3 Posters 718 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.
    • LindonL
      Lindon @DanH
      last edited by

      @DanH said in Crash on Export - png files?:

      png_struct_def

      looks like its a problem in the contents of your pngs - as a guess - what are you using to make the pngs?

      HISE Development for hire.
      www.channelrobot.com

      DanHD 2 Replies Last reply Reply Quote 0
      • DanHD
        DanH @Lindon
        last edited by

        @Lindon osx screenshot

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

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

          @Lindon I need to do them again anyway so will process them through gimp and see if that helps...

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

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

            @DanH said in Crash on Export - png files?:

            about 30kb each

            Is this the size in HISE or the size on disk?

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

            DanHD 1 Reply Last reply Reply Quote 0
            • DanHD
              DanH @d.healey
              last edited by

              @d-healey I don't know what the size in Hise is... that's the file size on disk. How do I find out about Hise? I haven't compressed them at all - OSX may have though...

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

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

                @DanH said in Crash on Export - png files?:

                I haven't compressed them at all - OSX may have though...

                Compression makes no difference. Once loaded into memory they expand to full bitmap size - search the forum for more info on that.

                You can see their memory usage in HISE in the pool table. You'll need to add a floating window or custom popup and add a pool table to it to see this.

                @Christoph-Hart I think this should be a default window available from the view menu probably. Along with others like the server controller, etc.

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

                DanHD 1 Reply Last reply Reply Quote 0
                • DanHD
                  DanH @d.healey
                  last edited by

                  @d-healey Yup I know about the compression thing.

                  Can't see a pool table in the floating tile options. How can I configure the custom pop up? I made a module browser before, can't remember how though!

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

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

                    @DanH oh found it! some of my knob filmstrips are 5000 kb, but the images I'm using are all about 344 kb.

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

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

                      @DanH Does the total come to more than 50mb?

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

                      DanHD 2 Replies Last reply Reply Quote 0
                      • DanHD
                        DanH @d.healey
                        last edited by

                        @d-healey 234 mb!

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

                        1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @d.healey
                          last edited by

                          @d-healey I don't need and am not using them all though. I figured Hise only includes the images that are actually used in the project, but perhaps I'm wrong about that!

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

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

                            @DanH said in Crash on Export - png files?:

                            I figured Hise only includes the images that are actually used in the project, but perhaps I'm wrong about that!

                            If you've added it to the pool then it will be included in the plugin. With that size of images you should probably use a separate file rather than embedding them in the plugin.

                            Link Preview Image
                            HISE | Docs

                            favicon

                            (docs.hise.audio)

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

                            DanHD 2 Replies Last reply Reply Quote 0
                            • DanHD
                              DanH @d.healey
                              last edited by

                              @d-healey said in Crash on Export - png files?:

                              Link Preview Image
                              HISE | Docs

                              favicon

                              (docs.hise.audio)

                              nice, good to know. I'll see what I can do to reduce the load!! Thanks :)

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

                              1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon @DanH
                                last edited by

                                @DanH said in Crash on Export - png files?:

                                @Lindon osx screenshot

                                yep suspicious of this - use gimp and export as png

                                HISE Development for hire.
                                www.channelrobot.com

                                1 Reply Last reply Reply Quote 0
                                • DanHD
                                  DanH @d.healey
                                  last edited by DanH

                                  @d-healey so I've got the images file sizes down as much as I can... It's 95mb in Hise. My other projects have similar image sizes and export fine, so I gave it a go and boom, crashed like before.

                                  So I unchecked Imbed Images and it still crashes like before... So perhaps it's something else?!

                                  report:

                                  3   HISE LFO EQ                   	       0x101c98717 juce::pnglibNamespace::png_default_error(juce::pnglibNamespace::png_struct_def const*, char const*) + 55
                                  4   HISE LFO EQ                   	       0x101c96f2f juce::pnglibNamespace::png_err(juce::pnglibNamespace::png_struct_def const*) + 31
                                  5   HISE LFO EQ                   	       0x101c92d97 juce::PNGImageFormat::writeImageToStream(juce::Image const&, juce::OutputStream&) + 10039
                                  

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

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

                                    So the crash happens before it compiles?

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

                                    DanHD 1 Reply Last reply Reply Quote 0
                                    • DanHD
                                      DanH @d.healey
                                      last edited by

                                      @d-healey yep, a few seconds after hitting export, before it asks about batch compile or anything.

                                      I'll do some debugging in the morning and reprocess the pngs

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

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

                                        @DanH said in Crash on Export - png files?:

                                        yep, a few seconds after hitting export, before it asks about batch compile or anything.

                                        Possibly nothing to do with your images then. Try removing them all and see what happens

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

                                        DanHD 1 Reply Last reply Reply Quote 0
                                        • DanHD
                                          DanH @d.healey
                                          last edited by

                                          @d-healey it was this line

                                          Engine.loadImageIntoPool("*");
                                          

                                          Which I was commenting out but Hise needed to be restarted before the change would take effect.

                                          Thanks for the help :)

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

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

                                          13

                                          Online

                                          1.7k

                                          Users

                                          11.8k

                                          Topics

                                          103.0k

                                          Posts