When I try to resize a jpeg with -resize, the temp-file in /tmp/ increases in size until there is no more space left on the drive.
It only happens with some jpegs, and if I open it in Photoshop and save it, the problem goes away. Is there perhaps a way to "repair" the jpeg first?
The image I've been using can be found here:
And the command I've been trying to run is:
gm convert -resize 391x567 -size 391x567 "/var/www/pages/anders/m.jpg" "/var/www/pages/anders/m.jpg"
Doesn't matter what options I give, I've tried using both -size and -resize, using -geometry instead, but nothing seems to work.
My system is Debian Etch with Graphicsmagick 1.1.7-13.
I apologize if I haven't given enough info, just tell me what you need to know and I'll post it.