Re: Multipage Tiff Extraction Functions Incorrectly
Posted: 2016-08-27T05:12:09-07:00
I see, that's really unfortunate. Thanks for the info, it's helped me debug further causes for this issue.dlemstra wrote:You have found a feature that was added last year. The first image has a resource block that contains layer information. Extracting one of the layers is possible as you have seen. But you cannot 'only' get the first image because the second image (layer) is part of the first image. You can disable this feature with the following define:
Code: Select all
D:\>identify -define tiff:ignore-layers=true c6f95170d8a5aebb1ee7e32bf52325b7.tif c6f95170d8a5aebb1ee7e32bf52325b7.tif TIFF 1013x325 1013x325+0+0 8-bit CIELab 232KB 0.000u 0:00.000
It is, however, frustrating that ImageMagick doesn't have a way strip the tags specifying the layer data, as the first image block without the tag data is how Adobe intends for the image to be read outside of the context of Photoshop (at least, according to their spec).