Description: I have try to insert APNG image into Impress presentation, but it does not work proper even if I playing slide show. Steps to Reproduce: 1. Open Impress 2. Insert APNG (download from: https://en.wikipedia.org/wiki/File:Animated_PNG_example_bouncing_beach_ball.png and https://en.wikipedia.org/wiki/File:Brain_MRI_apng_105px_100ms.png ) 3. Insert Animated GIF (download from: https://en.wikipedia.org/wiki/File:Rotating_earth_(large).gif ) Actual Results: None of APNGs works as animated image, even if playing slide show, but GIF does. Expected Results: Both APNG and GIF should work as animated image. Reproducible: Always User Profile Reset: No Additional Info: Version: 5.3.0.0.beta2+ (x64) Build ID: 371f0f6770add78ae81e0f769d0490874bca353c CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; Layout Engine: new; TinderBox: Win-x86_64@62-TDF, Branch:libreoffice-5-3, Time: 2016-12-22_13:59:31 Locale: zh-CN (zh_CN); Calc: group User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
If you want to support that you can visit the following resource: http://littlesvr.ca/apng/
The APNG formats has 24-bit images and 8-bit transparency not available for GIFs, and it uses more common than MNG format which made by PNG Group officially. To get these advantages, intergrating animated PNG support into LibreOffice is necessary.
Without official support in libpng not clear this alternative to animated GIF can ever be implemented for LibreOffice.
Would be nice if aPNG is officially supported. Until then you can try to apply the unofficial patch. https://sourceforge.net/projects/libpng-apng/?source=typ_redirect
Google Chrome will support APNG natively in June.
We can also try to parse three trunks from APNG images: acTL, fcTL and fdAT to get every framws, then feed them to libpng,
(In reply to Volga from comment #6) > We can also try to parse three trunks from APNG images: acTL, fcTL and fdAT > to get every frames, then feed them to libpng, On this page Chromium developer put an article to give further informations to describe how to do that: https://chromium.googlesource.com/chromium/src/+/7d2b8c45afc9c0230410011293cc2e1dbb8943a7
Mozilla also provide the patch to parse APNG, we can get it from their source repo: https://dxr.mozilla.org/mozilla-central/source/media/libpng/apng.patch
Seriously Folks. Four freaking years and this is not fixed? APNG is not the future, its ages old. And you can get the open source code to do it. Find an enclosed example that should work when dropped into Impress. FAIL it was too big Sigh 66MB.. In this world of 4K that size limit is too small. Get this 90's website upgraded please. Please assign a summer intern to this job and get it done.
I would like to say I prefer the use of apng over to webp because of it's better compression and performance. As to it being officially supported by the png group that will most likely never happen (I would say 99.9% sure). But it's supported by every major browser and one can use .apng for animated as opposed to .png for static. I would also like to leave A very interesting link about performance and compression comparison: http://littlesvr.ca/apng/gif_apng_webp.html
Paris Oplopoios committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/bf944e33569e4a1d6236a54671b7320cdc6ffaf6 tdf#104877 Add basic APNG format support It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Paris Oplopoios committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/8dfde7d69a8bbdc8ce88aefded231b94e30271d6 tdf#104877 Implement APNG blending modes It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.