Page 1 of 1

clarification requested for +adjoin IM 6.4.4.-10

Posted: 2008-10-21T12:14:01-07:00
by fmw42
IM 6.4.4-10 Q16 Mac OSX Tiger

I am puzzled by the resulting effect of +adjoin. The docs say:

"join images into a single multi-image file.

Enabled by default. -adjoin will try to save all images of an image sequence in the same file. However, some formats (e.g. JPEG) do not support more than one image and are saved to separate files.

Use +adjoin to force this behavior for all image format."

I was expecting a behavior similar to:

convert rose: rose: rose: rose3a.gif
identify rose3a.gif
rose3a.gif[0] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 10.6kb
rose3a.gif[1] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 10.6kb
rose3a.gif[2] GIF 70x46 70x46+0+0 8-bit PseudoClass 256c 10.6kb

But when I do:
convert rose: rose: rose: +adjoin rose3b.gif
identify rose3b.gif
-bash: freds-mac-mini:~: command not found

and what I get is really:
rose3b-0.gif
rose3b-1.gif
rose3b-2.gif

Is this what is intended for a "multi-frame" image? Or is there some bug?

Re: clarification requested for +adjoin IM 6.4.4.-10

Posted: 2008-10-21T21:27:14-07:00
by anthony
fmw42 wrote:IM 6.4.4-10 Q16 Mac OSX Tiger

I am puzzled by the resulting effect of +adjoin. The docs say:

"join images into a single multi-image file.

Enabled by default. -adjoin will try to save all images of an image sequence in the same file. However, some formats (e.g. JPEG) do not support more than one image and are saved to separate files.

Use +adjoin to force this behavior for all image format."
Sorry the docs were now clear enough. I will try to fix.

-adjoin (the default) tries to merge all files into the same file IF POSIBLE.

+adjoin FORCES the images to be saved, into separate one image files. Adding a %d in the output filename also enables mode of output.