Modify

Opened 16 years ago

Closed 16 years ago

#2621 closed defect (fixed)

animated gifs display only first picture

Reported by: izzy Owned by: Radek Bartoň
Priority: normal Component: ScreenshotsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

When uploading animated gifs, they are stored after applying some modifications to it (I can tell that by the file size - it's not only the file name being changed). As a result, the animation is broken - and the resulting image shows the first picture of the animation only.

Attachments (1)

girl-1.gif (40.5 KB) - added by Linda_o@… 16 years ago.
antimated beach girl

Download all attachments as: .zip

Change History (4)

comment:1 Changed 16 years ago by izzy

Forgot to mention the details about my installation:

Trac 0.10.3 on Ubuntu Dapper Drake (06-06 LTS) PIL: 1.1.5-4ubuntu1 Apache: 2.0.55-4ubuntu2.3 mit libapache2-mod-python2.4 3.1.4-0ubuntu1.1 Python: 2.4.2-0ubuntu3 sqlite3: 3.2.8-1ubuntu1

comment:2 Changed 16 years ago by Radek Bartoň

Status: newassigned

I'm using PIL to open and save images during upload to get its dimensions. I'll consult PIL documentation about animated GIFs to fix this problem...

comment:3 Changed 16 years ago by Radek Bartoň

Resolution: fixed
Status: assignedclosed

OK, I've fixed the way how are images stored with r3271. This will keep animaged GIF's untouched but they still be single frame if resized for preview. This would need manual handling of each frame or to use another image manipulation library.

Changed 16 years ago by Linda_o@…

Attachment: girl-1.gif added

antimated beach girl

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.