TIFF and DJVU layers vs. pages

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
freyja
Posts: 6
Joined: 2014-11-13T23:44:24-07:00
Authentication code: 6789

TIFF and DJVU layers vs. pages

Post 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.
Last edited by freyja on 2015-01-21T05:59:15-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: TIFF and DJVU layers vs. pages

Post 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.
freyja
Posts: 6
Joined: 2014-11-13T23:44:24-07:00
Authentication code: 6789

Re: TIFF and DJVU layers vs. pages

Post 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?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: TIFF and DJVU layers vs. pages

Post by snibgo »

... is it possible to create a multilayer TIFF using convert?
No.
snibgo's IM pages: im.snibgo.com
Post Reply