Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: NovicED on February 27, 2024, 10:06:21 AM

Title: DelogoHQ - PNG 'Load Failed!'
Post by: NovicED on February 27, 2024, 10:06:21 AM
I 'saved current frame' and edited the PNG file using Paint.net.  When I tried to 'load mask' using the edited PNG, Avidemux responds with 'Load failed!'.

Don't know if relevant but the PNG saved by Paint.net contained extra sections: sRGB gAMA PLTE; whereas PNG saved by Avidemux did not.  MediaInfo reports both PNG's as having 'deflate RGB 8 bits'.

Using Avidemux 2.8.1 Win

Any ideas?  Thanks.
Title: Re: DelogoHQ - PNG 'Load Failed!'
Post by: sark on February 27, 2024, 12:24:22 PM
PNG's load for me fine in version 2.8.2. Doubt it's a version issue though. Almost certainly the extra data.

Latest nightly below:

https://www.avidemux.org/nightly/win64/

Edit::
            Can you load the .png generated by ADM. That would confirm it's a .png issue, not a version issue.
Title: Re: DelogoHQ - PNG 'Load Failed!'
Post by: eumagga0x2a on February 27, 2024, 09:44:57 PM
Could you please attach a sample PNG image created by PaintDotNet to your reply or provide it via WeTransfer, Mega, Dropbox or Google Drive?
Title: Re: DelogoHQ - PNG 'Load Failed!'
Post by: NovicED on February 28, 2024, 03:33:19 AM
Here's a link to a sample video, saved PNG frame (which reloads ok) and the frame edited with Paint.net (which fails to reload).

https://www.dropbox.com/scl/fi/m7epi7otgwgr1tcnnlmp0/test.zip?rlkey=eauh3gjtu0drdsgxys7hoozay&dl=0

Title: Re: DelogoHQ - PNG 'Load Failed!'
Post by: eumagga0x2a on February 28, 2024, 12:44:33 PM
Thank you. Avidemux doesn't support indexed colors, please try the advice from here (https://forums.getpaint.net/topic/118266-paintnet-inconsistently-saving-pngs-either-in-indexed-color-or-rgb-color-need-to-set-to-just-rgb/?do=findComment&comment=583697) to save with bit depth set to 24 (or 32 for images with transparency).
Title: Re: DelogoHQ - PNG 'Load Failed!'
Post by: NovicED on February 29, 2024, 02:35:12 AM
Thanks.  Ugh - I used 8-bits as that's what MediaInfo reported.  Checking with Win file explorer the PNG created by Avidemux is indeed 24-bits and works when saved as that.