Page 1 of 1

Wrong colors after converting of some *.pct (PICT) images.

Posted: 2010-09-29T08:59:00-07:00
by wasow
When I try to convert such *.pct images to *.jpg (or to another format):

Code: Select all

$ identify -verbose PICT.pct | grep -ie format -e colorspace
  Format: PICT (Apple Macintosh QuickDraw/PICT)
  Colorspace: RGB

$ convert -size 3072x2048 -quality 100 -colorspace RGB PICT.pct PICT.JPG
I get image with strange (wrong) colors. [http://narod.ru/disk/25469639000/PICT.JPG.html]
From the most of known image converters and viewers I've found only two wich can correct view/convert these images: ImageConverter Plus (but in small resolution) and QuickTime (but can't convert).

Old version of ImageMagick's Converter (6.3.4 05/11/07 under wine) is more successful but with color bads. [http://narod.ru/disk/25470983000/PICT_old.JPG.html]

I guess the file [http://narod.ru/disk/25468836000/PICT.pct.html] is not corrupted, because I have hundred files with these symptoms.

Are there some workarounds?

Thanks in advance.

Re: Wrong colors after converting of some *.pct (PICT) image

Posted: 2010-09-29T10:07:26-07:00
by fmw42
I downloaded your PICT.pct file and looked at its verbose info, which looks fine. I displayed your image in Mac PREVIEW and it looks reasonable (mostly yellow-grayish). But when I display it in IM it looks very green. I did not see any profiles imbedded in the data, but I am not an expert on PICT files.

I then did

convert PICT.pct PICT.jpg

and got the same green image when displaying in either IM or Preview.

So something odd is going on with IM reading these files or Preview knows something that IM does not.

Hopefully someone else might be able to shed more light on this.

Re: Wrong colors after converting of some *.pct (PICT) image

Posted: 2010-10-01T04:26:45-07:00
by wasow
Thanks for you reply.
fmw42 wrote:Hopefully someone else might be able to shed more light on this.
Hope so!

Re: Wrong colors after converting of some *.pct (PICT) image

Posted: 2010-10-01T10:26:23-07:00
by fmw42
Post this problem to the Bugs forum and put a link back to this topic

Re: Wrong colors after converting of some *.pct (PICT) image

Posted: 2010-10-04T08:20:55-07:00
by wasow
fmw42 wrote:Post this problem to the Bugs forum and put a link back to this topic
Done: viewtopic.php?f=3&t=17202