I try to convert a 16BIT CMYK PSD with layers (also Alpha Channel) into a PNG or a JPG. (ImageMagick-6.4.9-Q16 also tryed ImageMagick-6.4.5-Q8)
I use the following syntax: convert -layers merge -fill rgb
with that optin i become a Image were transparent layers are white but the colors are still wrong.
RED = BLUE
YELLOW = RED
BLUE = YELLOW
i tryed also the -profile *.icc but than the transparent layer becomes black and colores are still wrong!
without layers merge the picture is shown very very buggi
Convert 16BIT CMYK PSD into PNG or JPEG
-
- Posts: 63
- Joined: 2009-03-12T01:52:24-07:00
- Authentication code: 8675309
- Location: Germany, Stuttgart
Re: Convert 16BIT CMYK PSD into PNG or JPEG
Can anybody help?
-
- Posts: 63
- Joined: 2009-03-12T01:52:24-07:00
- Authentication code: 8675309
- Location: Germany, Stuttgart
Re: Convert 16BIT CMYK PSD into PNG or JPEG
without fill RGB same problem with colors!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert 16BIT CMYK PSD into PNG or JPEG
try
convert cmyk_image.psd[0] -colorspace RGB newimage.png
JPG does not support transparency.
The first layer of the psd is already the composite of all the other layers, so you only need to convert the first layer, thus the [0]
convert cmyk_image.psd[0] -colorspace RGB newimage.png
JPG does not support transparency.
The first layer of the psd is already the composite of all the other layers, so you only need to convert the first layer, thus the [0]
-
- Posts: 63
- Joined: 2009-03-12T01:52:24-07:00
- Authentication code: 8675309
- Location: Germany, Stuttgart
Re: Convert 16BIT CMYK PSD into PNG or JPEG
Syntax convert cmyk_image.psd[0] -colorspace rgb -geometry 440x440 newimage.png
Did´t work as it should. Without -layers merge i loos the transparency. With -colorspace and not -fill the backround becomes Black again and the colors are still switched!
About the Picture: It has no backround and there are 3 rectangular objekts with complementary colors and at the corners they overlab you get the new mixed colors ! Attributes as in the headline!
here is my full syntax:
convert cmyk_image.psd[0] -fill rgb -layers merge -geometry 440x440 newimage.png <- only colores are wrong!
Did´t work as it should. Without -layers merge i loos the transparency. With -colorspace and not -fill the backround becomes Black again and the colors are still switched!
About the Picture: It has no backround and there are 3 rectangular objekts with complementary colors and at the corners they overlab you get the new mixed colors ! Attributes as in the headline!
here is my full syntax:
convert cmyk_image.psd[0] -fill rgb -layers merge -geometry 440x440 newimage.png <- only colores are wrong!
-
- Posts: 63
- Joined: 2009-03-12T01:52:24-07:00
- Authentication code: 8675309
- Location: Germany, Stuttgart
Re: Convert 16BIT CMYK PSD into PNG or JPEG
New test. i opened the image with IMDisplay under Windows and it shows also the wrong colores. Looks like the Image is to hard for imagemagick to handel with?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert 16BIT CMYK PSD into PNG or JPEG
Heiler81 wrote:Syntax convert cmyk_image.psd[0] -colorspace rgb -geometry 440x440 newimage.png
Did´t work as it should. Without -layers merge i loos the transparency. With -colorspace and not -fill the backround becomes Black again and the colors are still switched!
About the Picture: It has no backround and there are 3 rectangular objekts with complementary colors and at the corners they overlab you get the new mixed colors ! Attributes as in the headline!
here is my full syntax:
convert cmyk_image.psd[0] -fill rgb -layers merge -geometry 440x440 newimage.png <- only colores are wrong!
There is no such color as rgb. You have to specify the r,g,b values, such as "rgb(255,0,0)" for red or "rgb(100%,0%,0%)" for red. You can also use a color name or a hex color value such as "#FF0000" for red. The quotes are needed if not using a color name. So -fill red, or -fill "rgb(255,0,0)"
See http://imagemagick.org/script/color.php
But I don't see why you need layers merge or -fill. To enable alpha channel use -channel rgba -alpha on
Try
convert cmyk_image.psd[0] -colorspace rgb -channel rgba -alpha on -geometry 440x440 newimage.png
or
convert cmyk_image.psd[0] -channel rgba -alpha on -colorspace rgb -geometry 440x440 newimage.png
see -channel and -alpha
http://www.imagemagick.org/script/comma ... .php#alpha
http://www.imagemagick.org/script/comma ... hp#channel
http://www.imagemagick.org/Usage/basics/#alpha