I have a multi-page black & white tiff and I need to add a color overlay image to the first page only. The overlay image resolution and the multi-page image resolution are the same and both art tiffs. Using
convert ( ColorOverlay.tif MultiPageImage.TIF[0] -colors 256 -geometry +000+000 -compose multiply -composite ) result.tif
gives my a color overlay on the first page but no additional pages. If I reverse the overlay and the base image I get a single page black & white image.
As an extra added bonus, I actually need the output as a PDF, but one step at a time.
Thanks for your help
Color Overlay on page 1 of multi page bw tiff
-
- Posts: 1
- Joined: 2012-09-19T13:03:18-07:00
- Authentication code: 67789
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Color Overlay on page 1 of multi page bw tiff
You have selected out only the first frame and discarded all the rest. Tryconvert ( ColorOverlay.tif MultiPageImage.TIF[0] -colors 256 -geometry +000+000 -compose multiply -composite ) result.tif
convert ( ColorOverlay.tif MultiPageImage.TIF[0] -geometry +0+0 -compose multiply -composite -colors 256 ) MultiPageImage.TIF[1--1] result.tif
Or
convert MultiPageImage.TIF ( -clone 0 ColorOverlay.tif -geometry +0+0 -compose multiply -composite -colors 256 ) -swap 0,-1 +delete result.tif
see
http://www.imagemagick.org/Usage/basics/#list_ops
http://www.imagemagick.org/script/comma ... .php#stack (selecting frames)