Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: ImageMagick generates HUGE thumbails for 24-bit PNG files with alpha channel  (Read 2767 times)

0 Members and 1 Guest are viewing this topic.

v3

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 12
  • Another addict
    • sonic-world.ru

Hi. I'm using imagemagick for image handling on my server.
http://img419.imageshack.us/img419/9862/image71ge7.png
When i'm trying to upload this image to my gallery, it generates ~330kb thumbail (224x400px), but original is just 191kb for 350x550px!
It can be solved if you're using "-strip -depth 8" option for PNG. Then thumb becames about 98kb. I don't think "-depth 8" is good option for every format (didn't checked, sorry), but seems like it's good to use it to handle PNG files.

I don't know, maybe it's just ImageMagick bug. Try to generate thumbs for this image using default coppermine settings.

Nibbler

  • Guest

Works fine for me. Make sure you are running an up-to-date version of ImageMagick.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.