Page 1 of 1

[SOLVED] Combining explicit format + filename globbing...

Posted: 2009-02-23T13:38:36-07:00
by wildbug
This works:

Code: Select all

$ convert -depth 8 -size 29792x128 'rgb:~18068-rot-01-000[3-8].tmp.raw' -append show:
This does not:

Code: Select all

$ convert -depth 8 -size 29792x128 'rgb:~18068-rot-01-%04d.tmp.raw[3-8]' -append show:
convert: no decode delegate for this image format `~18068-rot-01-0003.tmp.raw' @ constitute.c/ReadImage/526.
convert: no decode delegate for this image format `~18068-rot-01-0004.tmp.raw' @ constitute.c/ReadImage/526.
convert: no decode delegate for this image format `~18068-rot-01-0005.tmp.raw' @ constitute.c/ReadImage/526.
convert: no decode delegate for this image format `~18068-rot-01-0006.tmp.raw' @ constitute.c/ReadImage/526.
convert: no decode delegate for this image format `~18068-rot-01-0007.tmp.raw' @ constitute.c/ReadImage/526.
convert: no decode delegate for this image format `~18068-rot-01-0008.tmp.raw' @ constitute.c/ReadImage/526.
convert: missing an image filename `show:' @ convert.c/ConvertImageCommand/2766.
If it's not obvious from the above examples, I'm trying to open a series of images with a glob-type syntax (in a script). The second format is preferable since formats like [7-13] won't work correctly. (yields 0007-00013 instead of 0007-0013).

Can explicit format specification (i.e., rgb:filename) be combined with imagemagick's built-in globbing?

Re: Combining explicit format + filename globbing on cmd line

Posted: 2009-02-23T14:53:19-07:00
by wildbug
Nevermind. I was originally using raw RGB temp files since they could be concatenated into a whole file, but since I don't need to do that anymore, I switched to MPC temp files, and since that extention is recognized by IM, no explicit format specifier is necessary.

Re: [SOLVED] Combining explicit format + filename globbing...

Posted: 2009-02-23T22:25:09-07:00
by anthony
Also MIFF image file format can be just concatenated together, such as when streaming images from multiple commands into one command.

See Im Examples, File Handling, MIFF
http://www.imagemagick.org/Usage/files/#miff