Tiff with layers boolean?

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?".
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Tiff with layers boolean?

Post by fmw42 »

I downloaded the image and viewed it in Photoshop. It shows two layers (but also has background transparency).

IM shows 3 layers. Layer 0 seems to be the flattened layer. Layer 1 is the star and layer 2 is the X pattern.

identify test.tif
test.tif[0] TIFF 393x379 393x379+0+0 8-bit sRGB 204KB 0.000u 0:00.009
test.tif[1] TIFF 347x335 347x335+22+21 8-bit sRGB 0.000u 0:00.000
test.tif[2] TIFF 178x167 178x167+111+107 8-bit sRGB 0.000u 0:00.000
thienlamnhan
Posts: 1
Joined: 2017-07-04T03:54:31-07:00
Authentication code: 1151

Re: Tiff with layers boolean?

Post by thienlamnhan »

josephaaroncampbell wrote: 2015-08-10T09:23:05-07:00
dlemstra wrote:Can you share your image on something like dropbox? The one where you think/know that it has layers?

The following link has two image files:

https://www.dropbox.com/sh/xrfaiejq7k8x ... gmjCa?dl=0

1. a layered tiff created using Adobe Photoshop CS5 called "layers_pSHOP.tif"
2. a layered tiff created using Image Magick called "layers_IM.tif"


I hope this helps. The '%[tiff:has-layers]' does not function on either image using version:
ImageMagick 6.9.1-10 Q16 x64 2015-07-25 (binary release)
windows 7 professional x64

thank you for your help!
Hi Guy
I have problem when create multi layers tiff from multi image (png, jpg...). Only create multi page tiff, not layers tiff.
When i open result in photoshop, only have one layers.
Can you send for me command to create tiff layer?
Thank so much
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Tiff with layers boolean?

Post by fmw42 »

Currently, ImageMagick only can create multi-page TIFFs. There is an enhancement request in already for multi-layer tiffs. But I do not know when that will be developed.
Post Reply