PNG is 7 times larger on 6.3.7 than on 6.6.3
Posted: 2010-10-14T10:01:28-07:00
When I save images as PNGs on my web server (which has 6.3.7), they are approximately 7 times heavier than on my workstation using ImageMagick 6.6.3.
This is my command:
The original "img/fr/card.png" is a 716x932 PNG that weighs 209,1Kb.
On my workstation, when I resize to a 460x598 PNG, it weighs 119,7 Kb. The workstation is Ubuntu 10.10, with ImageMagick 6.6.3.
On the webserver (DreamHost), the same 460x598 PNG weighs over 750Kb. The server is Debian 5.0.6, with ImageMagick 6.3.7.
This is my command:
Code: Select all
convert "img/fr/card.png" -resize x598 -gravity center -crop 460x+0+0 -quality 85 +repage -sharpen 0x1 "cache/medias/460X/img/fr/card.png_center.1286755661.png"
On my workstation, when I resize to a 460x598 PNG, it weighs 119,7 Kb. The workstation is Ubuntu 10.10, with ImageMagick 6.6.3.
On the webserver (DreamHost), the same 460x598 PNG weighs over 750Kb. The server is Debian 5.0.6, with ImageMagick 6.3.7.