Have problems with some images converted with ImageMagick.
I have used the following code
Code: Select all
convert -define jpeg:size=120x120 hatching_orig.jpg -thumbnail 120x120^ \
-gravity center -extent 120x120 cut_to_fit.gif
(But don't always work with AutoHotkey GUI)
I've also encountered problems opening some images with Joomla (on the web)
If I open the image with IrfanView and save it back to jpg it works
The original image is 24kB and the new image is 1,82kB.
(I can open it with AutoHotkey GUI)
I have tried the same with ImageMagick.
Code: Select all
convert infile.jpg outfile.jpg
If I use "-define jpeg:size=240x240" like this
Code: Select all
convert -define jpeg:size=240x240 hatching_orig.jpg -thumbnail 120x120^ \
-gravity center -extent 120x120 cut_to_fit.gif
Is my only solution is to use Irfanview to solve this?
(If I create an png image it works)
//Jan