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

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?".
Post Reply
darwinjob
Posts: 7
Joined: 2013-12-05T13:31:15-07:00
Authentication code: 6789

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

Post 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?
User avatar
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

Post 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
Post Reply