[wp-trac] [WordPress Trac] #28474: WordPress destroys animation in animated GIF when it resizes
WordPress Trac
noreply at wordpress.org
Thu Dec 29 23:19:15 UTC 2016
#28474: WordPress destroys animation in animated GIF when it resizes
--------------------------+-----------------------------
Reporter: archon810 | Owner: markoheijnen
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future Release
Component: Media | Version: 3.9.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by gabrielstuff):
As stated here (https://core.trac.wordpress.org/ticket/28474#comment:9) 22
months ago, I would be happy to help.
I disagree with the idea of letting GIF in there own space. I really think
Wordpress should be easy for everybody, even for people who upload 800x600
px GIF instead of 400x300 and who end up with frozen frame. It feels
buggy. Every young people around upload gif and I always tend to explain
to them to resize before upload but they won't. Even when a simple tool
like giphy exists.
I was wondering why not using a library that abstract the use of GD and
image magick and that would allow for more advanced image processing.
As for audio, Wordpress uses https://github.com/JamesHeinrich/getID3, why
not using an abstraction librery such as
https://github.com/kosinix/grafika/ or an other, to replace
https://github.com/WordPress/WordPress/blob/0a349c964178343f7668abf065bb86fc114b8332
/wp-includes/class-wp-image-editor-imagick.php and
https://github.com/WordPress/WordPress/blob/dd6da701b286579819cd6aa518aa2d7018efd759
/wp-includes/class-wp-image-editor-gd.php
Also if not possible why not just use the same method that @markoheijnen
found and we confirmed 22 month ago ?
(http://php.net/manual/fr/imagick.coalesceimages.php) It won't break
anything to GD and will bring resized GIF for imagemagick compatible
server.
Thanks !
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28474#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list