Page 1 of 1

wildcards: Invalid argument @ error/blob.c/OpenBlob/2643

Posted: 2013-12-05T15:53:54-07:00
by darwinjob
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?

Re: wildcards: Invalid argument @ error/blob.c/OpenBlob/2643

Posted: 2013-12-05T16:17:54-07:00
by fmw42
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