Color Shifting with ImageMagick
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Color Shifting with ImageMagick
Hello All,
We are facing multiple issues with ImageMagick .
Version Information :
Version: ImageMagick 6.9.0-0 Q16 x64 2014-11-14 http://www.imagemagick.org
PSD to PSD -CMYK
- color Shifting
- Loosing Alpha Channels
- Background Changing from Transparent to white
Command Used :
convert -verbose -transparent white -flatten +matte -units PixelsPerInch +profile 8bim %1[0] -colorspace CMYK -profile "D:\Droplets\SWOP2006_Coated3v2.icc" "M:%MYPARAM4%%~n1.PSD"
PSD to PSD - Changing dpi to 100 DPI
- color Shifting
- Loosing Alpha Channels
- Background Changing from Transparent to white
Command Used
convert -verbose -transparent white -flatten +matte -units PixelsPerInch +profile 8bim -density 100 %1[0] "M:%MYPARAM4%%~n1.PSD"
PSD to PSD - JPEG
- color shifting
- Command
CONVERT verbose -transparent white -flatten +matte -units PixelsPerInch +profile 8bim -density 72 -resize 2000 %1[0] -profile "D:\Droplets\sRGB Profile.icc" "M:%MYPARAM4%%~n1.jpg"
PSD to PNG - PNG
- color shifting
- Command
convert -verbose -transparent white -flatten +matte -units PixelsPerInch +profile 8bim -density 72 -resize 500 %1[0] -profile "D:\Droplets\sRGB Profile.icc" "M:%MYPARAM4%%~n1.png"
Let me know how to resolve these issues.
Thanks in advance .
We are facing multiple issues with ImageMagick .
Version Information :
Version: ImageMagick 6.9.0-0 Q16 x64 2014-11-14 http://www.imagemagick.org
PSD to PSD -CMYK
- color Shifting
- Loosing Alpha Channels
- Background Changing from Transparent to white
Command Used :
convert -verbose -transparent white -flatten +matte -units PixelsPerInch +profile 8bim %1[0] -colorspace CMYK -profile "D:\Droplets\SWOP2006_Coated3v2.icc" "M:%MYPARAM4%%~n1.PSD"
PSD to PSD - Changing dpi to 100 DPI
- color Shifting
- Loosing Alpha Channels
- Background Changing from Transparent to white
Command Used
convert -verbose -transparent white -flatten +matte -units PixelsPerInch +profile 8bim -density 100 %1[0] "M:%MYPARAM4%%~n1.PSD"
PSD to PSD - JPEG
- color shifting
- Command
CONVERT verbose -transparent white -flatten +matte -units PixelsPerInch +profile 8bim -density 72 -resize 2000 %1[0] -profile "D:\Droplets\sRGB Profile.icc" "M:%MYPARAM4%%~n1.jpg"
PSD to PNG - PNG
- color shifting
- Command
convert -verbose -transparent white -flatten +matte -units PixelsPerInch +profile 8bim -density 72 -resize 500 %1[0] -profile "D:\Droplets\sRGB Profile.icc" "M:%MYPARAM4%%~n1.png"
Let me know how to resolve these issues.
Thanks in advance .
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Color Shifting with ImageMagick
"-flatten" removes transparency, so that's one problem solved. If you don't want to lose transparency, don't "-flatten".
"+matte" is deprecated. Don't use it. What do you want that to do?
If you are working with profiles, you almost certainly should not also use "-colorspace CMYK". Doing so will cause "colour shifting".
Any other problems?
"+matte" is deprecated. Don't use it. What do you want that to do?
If you are working with profiles, you almost certainly should not also use "-colorspace CMYK". Doing so will cause "colour shifting".
Any other problems?
snibgo's IM pages: im.snibgo.com
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Color Shifting with ImageMagick
2 Other Problems
1 . Colour shifting with RGB Conversion
2 . Loosing Alpha Channels
1 . Colour shifting with RGB Conversion
2 . Loosing Alpha Channels
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Color Shifting with ImageMagick
With v6.9.5-3, I can't see a colour problem with, for example:pssvarma8881 wrote:1 . Colour shifting with RGB Conversion
Code: Select all
convert W_MYAG_CDH52_14143_001_ORIG.psd[1] -profile sRGB.icc x.tiff
All of your commands use "-flatten". This removes all transparency. With no transparency, there is no need for an alpha channel.pssvarma8881 wrote:2 . Loosing Alpha Channels
snibgo's IM pages: im.snibgo.com
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Color Shifting with ImageMagick
When we are converting original PSD to PSD with 100 dpi we are losing alpha Channels . We need these alpha channels after the transformation as these will be used by our consumers.
For Color shifting please download the document which i uploaded to that .That document explains the differences between Source file and converted file.
For Color shifting please download the document which i uploaded to that .That document explains the differences between Source file and converted file.
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Color Shifting with ImageMagick
Thanks for your quick response
For Alpha Channels :
I am i tried without -flatten command which solved my transparency problem .But i am still loosing the alpha channels.
Command i used :
convert -verbose -units PixelsPerInch +profile 8bim -density 100 %1[0] "M:%MYPARAM4%%~n1.PSD"
For Alpha Channels :
I am i tried without -flatten command which solved my transparency problem .But i am still loosing the alpha channels.
Command i used :
convert -verbose -units PixelsPerInch +profile 8bim -density 100 %1[0] "M:%MYPARAM4%%~n1.PSD"
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Color Shifting with ImageMagick
I do not know if this will help, but proper IM 6 and 7 syntax would read the input PSD image first before applying any settings or operators.
Your image has a group layer and adjustment layers. IM cannot deal with group or adjustment layer fully.
Also when I do
identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
But I will let one of the IM developers look at your file and explain further.
Your image has a group layer and adjustment layers. IM cannot deal with group or adjustment layer fully.
Also when I do
identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
But I will let one of the IM developers look at your file and explain further.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Color Shifting with ImageMagick
I also get on IM 6.9.5.10 Q16 Mac OSX
Abort trap
convert: memory allocation failed `tmp.psd' @ error/psd.c/WritePSDImage/3131.
Code: Select all
convert W_MYAG_CDH52_14143_001_ORIG.psd -define psd:additional-info=all tmp.psd
Code: Select all
convert -define psd:alpha-unblend=off W_MYAG_CDH52_14143_001_ORIG.psd[0] tmp.psd
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Color Shifting with ImageMagick
thanks for your help .
Let me know the developer so that I can contact him.
Regards,
P.S.S.Varma
Let me know the developer so that I can contact him.
Regards,
P.S.S.Varma
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Color Shifting with ImageMagick
He should contact you by tomorrow. I sent him a note to look at this topic.
Re: Color Shifting with ImageMagick
You did not leave me a note but I got your e-mail. I will take a look at this topic later this week/weekend.
p.s. I really don't understand why IM fails with an 'Abort trap' on your system Fred. Can you give it a try with an earlier version?
p.s. I really don't understand why IM fails with an 'Abort trap' on your system Fred. Can you give it a try with an earlier version?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Color Shifting with ImageMagick
dlemstra:
Not sure why you did not get my PM. But you got my email. The following current and older versions still abort trap on me.
IM 6.9.5.10
identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
im6959 identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
im6958 identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
IM 7.0.3.1
im7 magick identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
Not sure why you did not get my PM. But you got my email. The following current and older versions still abort trap on me.
IM 6.9.5.10
identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
im6959 identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
im6958 identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
IM 7.0.3.1
im7 magick identify -verbose W_MYAG_CDH52_14143_001_ORIG.psd
Abort trap
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Color Shifting with ImageMagick
Hi ,
Please let us know if you found anything .
Please let us know if you found anything .
-
- Posts: 45
- Joined: 2016-09-18T15:42:46-07:00
- Authentication code: 1151
Re: Color Shifting with ImageMagick
@dlemstra Kindly let me know if you found anything on this