Page 1 of 1

TIFF and DJVU layers vs. pages

Posted: 2015-01-21T05:04:09-07:00
by freyja
Hi, I wanted to ask if current IM version can handle layers in TIFF images. I would like to strongly distinguish between layers and pages. The common command that is said to produce layered TIFF in fact produces a multipage TIFF:

Code: Select all

convert rose: rose: rose: rose.tiff
In this way we will get a file that opened in for example evince will have three pages.
My friend created a multilayer TIFF for me in Photoshop. You can download it here:

http://speedy.sh/xWxr8/bookshop.laundry.deu.tiff

It acts differently in evince, I only see one page. But when she reopens it in Photoshop we can see the layers (one has word "Bucherei" and the other "Wascherei" on it, there are not transparent). Does IM can also handle them (for example extract single layer etc.)? My use case is to operate on layers separately in memory in JMagick, but I would first like to know if it is possible at all, in console IM version.

I will appreciate any feedback on this. If you prefer that I upload the example file differently please let me know.

Re: TIFF and DJVU layers vs. pages

Posted: 2015-01-21T05:20:31-07:00
by magick
Your image has one TIFF image, try the tiffinfo program to confirm. The layers are likely embedded in one of the associated profiles (e.g. XMP). ImageMagick parses out certain information from the profiles but does not comprehensively support them.

Re: TIFF and DJVU layers vs. pages

Posted: 2015-01-21T05:58:59-07:00
by freyja
Thanks for a quick reply. Is it possible to create a multilayer TIFF that will be supported by IM (in some different way than Photoshop)? For example, is it possible to create a multilayer TIFF using convert?

Re: TIFF and DJVU layers vs. pages

Posted: 2015-01-21T07:12:40-07:00
by snibgo
... is it possible to create a multilayer TIFF using convert?
No.