clarification requested for +adjoin IM 6.4.4.-10

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

clarification requested for +adjoin IM 6.4.4.-10

Post 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?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

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

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply