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?".
I have been trying to create a image with multiple layers to open it in photoshop to see the ones i want just hidding or not one of the specific layer. But i cant create a image with multiple layers.
I have many bmp files, so I want for example get the files number 4 , 5 and 6 in the same image but in diferent layers , so when i open this new one I can hide the layer of the image 4 and 5 and just see the 6th one, or any other combination.
The most i have got have been create a image with multiple alpha channels but i need it to be layers.
I have used the "convert" order and "composite" one too.
I have been trying to create a image with multiple layers to open it in photoshop to see the ones i want just hidding or not one of the specific layer. But i cant create a image with multiple layers.
I have many bmp files, so I want for example get the files number 4 , 5 and 6 in the same image but in diferent layers , so when i open this new one I can hide the layer of the image 4 and 5 and just see the 6th one, or any other combination.
The most i have got have been create a image with multiple alpha channels but i need it to be layers.
I have used the "convert" order and "composite" one too.
I hope u can help me
Thx!!
I am not an expert on this topic and will defer to others, but I really don't think IM supports layers in the Photoshop sense, except to extract layers from a PSD file.
Can you provide a muli-layer TIFF that opens the way you want in Photoshop.
In IM you can create multi-frame Tiff files, but I really don't know about multi-layers as Photoshop handles them.
draker2k2 wrote:The multi-layer imagen is not needed to be exactly a TIFF can be a PSD of course.
I though I could use the -page or -layer commands but no one of these works for me or at least I dont know how to make them work as I want.
If It's possible to make it in PSD would be great too
Just need a image format that I can open in Photoshop.
Thx.
Again, I will defer to the IM experts, but I don't think IM can create a multi-layer PSD file. It can read the layers in an existing image and convert them to separate images, but I don't think IM can create multi-layer images, even as PSD, in the Photoshop sense. It can only make multi-frame images, which I don't believe are the same as Photoshop layers.
Imagemagikc supports PSD layers when writing, one for each frame in an image sequence. Unfortunately you have little control over the PSD image creation and the resulting image may not be what you want.
magick wrote:Imagemagikc supports PSD layers when writing, one for each frame in an image sequence. Unfortunately you have little control over the PSD image creation and the resulting image may not be what you want.
Makes a 3 layer psd, for some reason the first layer is thrown away, not a problem, an empty or duplicate layer can be used. Is this normal?
That is fine for cmyk colorspace but there is a colorshift from the RGB png files to CMYK. I have tried to get a RGB PS psd with the same method ( using -colorspace sRGB for example) and all I get are grayscale images. Read a little about this for tiff files and maybe a IM bug?
Is this correct and is there a way to get RGB?
using PCLOS2012 and ImageMagick 6.6.3-4 2011-02-13 Q16
Thanks for the reply, this is just for info and to set the scene
On the above PCLOS linux, that command using rose: did indeed work although I ended up with just 2 layers.
To expand a bit, using 4 200x200 pix layers exported from Inkscape as png's (with transparency) each image about 20 KB
This converted to sizable 6.6 MB psd file which will not open, there is a 'unexpected end of file' error.
I did manage to get on a windows machine with IM 6.7.5 Q16 and got an even larger file 7.1 MB but it does open in PS as RGB. The first layer is still missing. It resaves to a more reasonable 234 KB.
Where did the greyscale come in, from memory, it was using the command without the -colorspace switch.
Perhaps when PCLOS updates IM that will be a solution.
if you want the first layer in PSD which is usually the flattened result of all the other images, you need to do that separately and then add that to your the beginning of the list of images to be converted to psd
Not that I know about, since layers in IM are actually just frames and they are simply numbered. However, you may able to comment the layers before you combine them. see -comment. http://www.imagemagick.org/script/comma ... hp#comment That info can then be retrieved from the images verbose info:
However, I will defer to the IM developers to add or correct me.
Unless we know how layers are named, I can't help you. We have 'comment' 'label' and 'caption' as posible strings that may be used by the layer handling of the non-IM application.