convert -adjoin results on a multitiff with inverted colors

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
rpgomes

convert -adjoin results on a multitiff with inverted colors

Post by rpgomes »

Hi,

I used the command:

convert -adjoin 0001.tif 0002.tif 0003.tif M0001.tif

The images were joined, but in inverted way. White/black became black/white.

Witch option should I use to avoid this?

Thank you
Rui Gomes
rpgomes

Re: convert -adjoin results on a multitiff with inverted colors

Post by rpgomes »

Hi again,

I tried -negate option and it works fine.

Thanks :D
Rui Gomes
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert -adjoin results on a multitiff with inverted colors

Post by fmw42 »

For tif you don't need adjoin, I don't think.

Have you tried

convert image1.tif image2.tif ... imageN.tif multiframe.tif

perhaps the inverted colors is due to +adjoin
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: convert -adjoin results on a multitiff with inverted colors

Post by anthony »

Inverted colors will be nothing to do with adjoin, but the input Tiff file format. There is an option to fix the reading of the file for these types of tiffs.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
rpgomes

Re: convert -adjoin results on a multitiff with inverted colors

Post by rpgomes »

Can you help me on that option?
Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert -adjoin results on a multitiff with inverted colors

Post by fmw42 »

documentation on Tif in IM is at http://www.imagemagick.org/Usage/formats/#tiff
Post Reply