Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
I have the problem that adding a -thumbnail flag to a resize command gives no decode delegate for this image format.
Resize without -thumbnail just works. Why this difference?
convert.exe: no decode delegate for this image format `C:/DOCUME~1/Erich/LOCALS~1/
Temp/magick-jzTjvk2f' @ constitute.c/ReadImage/531.
Those magick-* files are 0bytes and do not have an extension.
I have the stand-alone version of ImageMagick, on windows xp32 sp3. Imagemagick is not in the path, nor do I have any special imagemagick environment variable defined.
Some info from identify -list format:
JNG* rw- JPEG Network Graphics
See http://www.libpng.org/pub/mng/ for details about the JNG
format.
JP2* rw- JPEG-2000 File Format Syntax
JPC* rw- JPEG-2000 Code Stream Syntax
JPEG* rw- Joint Photographic Experts Group JFIF format (70)
JPG* rw- Joint Photographic Experts Group JFIF format (70)
JPX* rw- JPEG-2000 File Format Syntax
edit: corrected the examples, missing input parameter due to wrong copying here.
Last edited by Exception e on 2010-01-04T12:21:30-07:00, edited 2 times in total.
I don't see how your first command can work because it has "84x53>" without a preceeding operation (-resize ??) and the convert command also requires an input and output filename whereas your command only has one filename. Both commands, as you have shown them, should fail.
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
The command looks good now. You could use the DOS "if" command to test for a zero length file but either way it's best ot have something warning you of bad files.
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.