https://bugzilla.wikimedia.org/show_bug.cgi?id=23063

Robert Rohde <ro...@robertrohde.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro...@robertrohde.com

--- Comment #4 from Robert Rohde <ro...@robertrohde.com> 2010-04-06 19:32:29 
UTC ---
(In reply to comment #0)
> 04:40 <+logmsgbot> !log andrew synchronized
> php-1.5/wmf-config/CommonSettings.php  'GIF scaling working correctly on
> testwiki, pushing to other wikis again'
> 
> Working for normal gifs, and small animated gifs. Large animated gifs all
> create the error:
> Error creating thumbnail: Invalid thumbnail parameters or PNG file with more
> than 12.5 million pixels
> 
> We should really have a better method to deal with this, at least a more
> descriptive error.
> 
> Preferably we should thumb the first frame, render a "play" icon on top and
> always load the full GIF in the image description page, or something like 
> that.

One of the problems is that GIFs with large numbers of frames require very
large amounts of memory to thumbnail under the current process.

For example this simple 400 KB image with 370 frames:

http://upload.wikimedia.org/wikipedia/commons/6/6d/Translational_motion.gif

Requires >85 MB to thumbnail.

For items like that, where the full file size is actually very small, we should
probably just send the whole image to the browser and let the browser handle it
as is.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to