multi-layer tiff file [message #88934] |
Sat, 05 July 2014 05:08  |
greg.addr
Messages: 160 Registered: May 2007
|
Senior Member |
|
|
Anyone know a way to generate a multi-layer tiff from IDL (or any other format which would open in photoshop with images in separate layers)? I tried this:
IDL> a=dist(400)
IDL> b=bytscl(findgen(400,400))
IDL> c=[[[a]],[[b]]]
IDL> write_tiff,"d:\tmp\test.tif",c,planarconfig=2
but Photoshop doesn't like it (although Photoshop can read/write multi-layer tiffs). I'm hoping to create a ~100 layer image file.
cheers,
Greg
|
|
|
|
Re: multi-layer tiff file [message #88937 is a reply to message #88935] |
Sun, 06 July 2014 16:54   |
Heinz Stege
Messages: 189 Registered: January 2003
|
Senior Member |
|
|
Hi Greg,
I don't use Photoshop. Therefore I don't know, how Photoshop creates
and reads "multi-layer TIFFs". You may try to create a multi-image
TIFF file in the following way:
a=bytscl(dist(400))
b=bytscl(findgen(400,400))
write_tiff,"test.tif",a
write_tiff,"test.tif",b,/append
I don't know, if this works.
Cheers, Heinz
|
|
|
Re: multi-layer tiff file [message #88942 is a reply to message #88937] |
Mon, 07 July 2014 01:39  |
greg.addr
Messages: 160 Registered: May 2007
|
Senior Member |
|
|
Hi Heinz,
Thanks for the idea. Unfortunately, in this case Photoshop doesn't see the second image at all. I think I'll have to give up on that plan.
cheers,
Greg
|
|
|