Modify

Opened 6 years ago

Closed 6 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

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 6 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 6 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 6 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 6 years ago by Linda_o@…

antimated beach girl

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Blackhex. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.