I've used mogrify (version 6.5.4-4 2009-07-21 Q16) to create thumbnails from an .psd file. The thumbnail creation works fine, although the file format seems to be invalid. This is the command I use:
mogrify.exe -format jpg -thumbnail 96x96 \work\*.*
When I use the thumbnail to be displayed on a website, it shows as a red X. However, if I open and save the thumbnail with Paint the image is displayed properly.
Can anyone help me to get proper, displayable thumbnails or give me some clue on what is causing this problem?
Thumbnails don't show in webpage
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Thumbnails don't show in webpage
try
mogrify.exe -path fullpathto\work\ -format jpg -thumbnail 96x96 *.*
see http://www.imagemagick.org/Usage/basics/#mogrify
mogrify.exe -path fullpathto\work\ -format jpg -thumbnail 96x96 *.*
see http://www.imagemagick.org/Usage/basics/#mogrify
Re: Thumbnails don't show in webpage
Thanks for the reply. Tried it with the settings your specified and in the listed sequence, however the jpg still does not display. I also tried converting it to png and that works fine.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Thumbnails don't show in webpage
might your jpeg be a JPG2000 file. if so you need the jasper delegate library installed