Hi
This works:
convert -verbose C:\source_folder\*.png C:\output_folder\*.tif
But this one gives me convert.exe: unable to open image `C:\output_folder\*.tif': Invalid argument @ error/blob.c/OpenBlob/2643.
convert -verbose C:\source_folder\*.png -set colorspace RGB -compress lzw C:\output_folder\*.tif
What's the problem?
wildcards: Invalid argument @ error/blob.c/OpenBlob/2643
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: wildcards: Invalid argument @ error/blob.c/OpenBlob/2643
try using mogrify instead of convert. It was designed to convert each image in a directory. You are probably running into problems with wildcard issues in your input and output images. Convert does not like such syntax. See perhaps viewtopic.php?f=1&t=24475&p=105081#p105081
see
http://www.imagemagick.org/Usage/basics/#mogrify
see
http://www.imagemagick.org/Usage/basics/#mogrify