Hi there,
I'm using the convert commande to resize psd files. The source psd file has RGB channels, but the colors used by the artist are only nuances of gray. When the file gets resized, the RGB channels are gone and the Grey channel appears appears.
If I add a bit of any color (other than gray) in the source file, the resized file will keep the RGB channels.
Is there any way to "force" ImageMagick to keep the RGB channels?
Thanks!
Resizing with convert removes channels from psd
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Resizing with convert removes channels from psd
I suppose you mean that your output file contains only gray pixels, so it has one channel but you want three.
"-type truecolor" might do it. What is your output filetype?
Also please state what version of IM you are using.
"-type truecolor" might do it. What is your output filetype?
Also please state what version of IM you are using.
snibgo's IM pages: im.snibgo.com
Re: Resizing with convert removes channels from psd
We recently changed the behavior of the PSD coder to not automaticly change an image to grayscale. There was no way to disable this. I am not sure if that was in the latest release or in the current beta.
Re: Resizing with convert removes channels from psd
I guys,
Thanks for your replies. I'm using "6.9.1-1-Q16-x64" (which was the latest version a few days ago). My output file is also psd.
I tried adding "-type truecolor" with no luck. I used:
I also tried using "6.8.9-10-Q8-x64", no luck either.
Here's the file I'm testing this at the moment.
Here's what the photoshop channels look like:
Thanks a lot for your help!
Thanks for your replies. I'm using "6.9.1-1-Q16-x64" (which was the latest version a few days ago). My output file is also psd.
I tried adding "-type truecolor" with no luck. I used:
Code: Select all
convert 100/Checkpoint.psd -resize 25% 25/Checkpoint.psd
Here's the file I'm testing this at the moment.
Here's what the photoshop channels look like:
Thanks a lot for your help!
Last edited by ddp on 2015-04-19T09:01:19-07:00, edited 1 time in total.
Re: Resizing with convert removes channels from psd
Just found some more info. This "Gray" channel is there because the image mode is set to Grayscale in Photoshop. If I select "Image > Mode > RGB Color" in the menu, the RGB channels appear and the Gray want goes away.
So it looks like what I'm looking for is a way to tell ImageMagick to save the psd int the RGB mode.
So it looks like what I'm looking for is a way to tell ImageMagick to save the psd int the RGB mode.