Opened 17 years ago
Closed 17 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)
Change History (4)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Status: | new → 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 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → 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.
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