PSD to anything Seg Fault.

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
ironywrit
Posts: 14
Joined: 2009-06-19T14:07:33-07:00
Authentication code: 8675309

PSD to anything Seg Fault.

Post by ironywrit »

I am trying very hard to convert a CMYK PSD into a thumbnail or any kind of flat image for use on the web... I am not getting anywhere.

If I use the [0] after the file, I keep getting a segmentation fault. If I try a colorspace, I get a seg fault ... when I convert it plain with -flatten I get something that only marginally represents the intended picture.

If it helps you, this PSD file is 136 MB.

It's huge.

Anyways ... just testing the waters to see if anyone knows what's going on.

For example:

convert MTSD\ Poster\ Final.psd -flatten -colorspace RGB exit.png

exit.png ... the colors are all wrong, the overlays render as noise, it's just terrible.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PSD to anything Seg Fault.

Post by magick »

Post a URL to one or two of your images. We need to download and reproduce the problem before we can offer any help.
ironywrit
Posts: 14
Joined: 2009-06-19T14:07:33-07:00
Authentication code: 8675309

Re: PSD to anything Seg Fault.

Post by ironywrit »

Sure, this is the file: http://24.227.52.162/MTSD.psd

I urge patience... this is a temporary server and we're working with a limited bandwidth.

My home computer actually has better throughput, but Verizon has just updated my FiOS and reset the router which I have to reconfigure ...

Thanks for all your help!
ironywrit
Posts: 14
Joined: 2009-06-19T14:07:33-07:00
Authentication code: 8675309

Re: PSD to anything Seg Fault.

Post by ironywrit »

The download takes about 7 or 8 minutes, top speed...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PSD to anything Seg Fault.

Post by magick »

What version of ImageMagick are you using? We're using ImageMagick 6.5.3-10 and it converts for us without complaint:
  • convert 'MTSD.psd[0]' MTSD.png
ironywrit
Posts: 14
Joined: 2009-06-19T14:07:33-07:00
Authentication code: 8675309

Re: PSD to anything Seg Fault.

Post by ironywrit »

I am using the latest version available for my system... openSUSE 11.1 ... 6.4.3 ...

I see that 6.5.3 is available.

I will attempt to download and install the Fedora Binary of that, now.
ironywrit
Posts: 14
Joined: 2009-06-19T14:07:33-07:00
Authentication code: 8675309

Re: PSD to anything Seg Fault.

Post by ironywrit »

That will not work.

I am now going to build the program manually.
ironywrit
Posts: 14
Joined: 2009-06-19T14:07:33-07:00
Authentication code: 8675309

Re: PSD to anything Seg Fault.

Post by ironywrit »

Okay.

I built the new ImageMagick, installed it, and everything worked (after download a ton of devel packages) ...

But ... the color is a little off.

seems to me the original PSD was a little bit more pale... it's a CMYK image... any chance of getting these colors spot on? Any general advice for when that happens?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PSD to anything Seg Fault.

Post by magick »

If you want the colors spot on you need to use two color profiles, a CMYK color profile and a sRGB color profile. See the -profile option.
ironywrit
Posts: 14
Joined: 2009-06-19T14:07:33-07:00
Authentication code: 8675309

Re: PSD to anything Seg Fault.

Post by ironywrit »

Well, my current build of ImageMagick says it can't find any file names for those ICC profiles. I'm trying to look in the forums about how to actually configure this, without success...
ironywrit
Posts: 14
Joined: 2009-06-19T14:07:33-07:00
Authentication code: 8675309

Re: PSD to anything Seg Fault.

Post by ironywrit »

I figured it out... I downloaded the color profiles from Adobe.
Post Reply