Summary: | Implement support for filter import and playback of animated PNG -- APNG | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Volga <shanshandehongxing> |
Component: | filters and storage | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | johnmaverick74, vsfoote |
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://wiki.mozilla.org/APNG_Specification | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=114532 | ||
Whiteboard: | target:24.2.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 108438 |
Description
Volga
2016-12-23 10:49:23 UTC
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. |