Opened 9 years ago

Closed 9 years ago

#2621 closed defect (fixed)

animated gifs display only first picture

Reported by: izzy Owned by: Blackhex
Priority: normal Component: ScreenshotsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


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@… 8 years ago.
antimated beach girl

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 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 9 years ago by Blackhex

  • Status changed from new to assigned

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 9 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from assigned to closed

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 8 years ago by Linda_o@…

antimated beach girl

Add Comment

Modify Ticket

as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.