Write single page tiff

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
MurrayW
Posts: 5
Joined: 2018-12-04T17:48:21-07:00
Authentication code: 1152

Write single page tiff

Post by MurrayW »

Hi all,

I am using ImageMagick-7.0.8-11-Q16-x64 on Windows 10.

To extract a single band from RGB images I have been using eg: convert Image.tif -channel R -separate ImageR.tif

ImageR.tif is showing: "Page Number: 1 2" in the Exiftool in XnView, and when I bring the to ArcMAP it asks which page I want to load. Can I specify that the output is to have only 1 page?

cheers
Murray
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Write single page tiff

Post by fmw42 »

Try

Code: Select all

convert Image.tif[0] -channel R -separate ImageR.tif 

To get the red channel from the first layer/page. Change [0] to another number to get the appropriate layer or page's red channel. Note that numbering starts with 0 for the first layer/page.
MurrayW
Posts: 5
Joined: 2018-12-04T17:48:21-07:00
Authentication code: 1152

Re: Write single page tiff

Post by MurrayW »

Thanks. That worked!
Post Reply