Opened 14 years ago

Closed 14 years ago

#28072 closed defect (invalid)

ghostscript/ImageMagick pdf to png fails

Reported by: pixilla (Bradley Giesbrecht) Owned by: takanori@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: ghostscript

Description

Using the supplied pdf "bw_testing.pdf" following command works with ghostscript @8.71_5+no_x11 and fails with ghostscript @9.00_5+no_x11.

convert bw_testing.pdf bw_testing.png

Mac OS X 10.5.x ppc

I thought it may have something to do with the current libpng issues but reverting to ghostscript @8.71_5 with the current libpng is working for me.

I have reverted version of ImageMagick and libpng and pdf to png works with every combination I have tried as long as ghostscript is not greater then 8.71_5.

Here we are working with new libpng and ImageMagick but old ghostscript.

port installed ghostscript ImageMagick libpng | grep active
  ghostscript @8.71_5+no_x11 (active)
  ImageMagick @6.6.7-1_1+no_x11+q32 (active)
  libpng @1.4.5_0 (active)

Attachments (1)

bw_testing.pdf (440.2 KB) - added by pixilla (Bradley Giesbrecht) 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by pixilla (Bradley Giesbrecht)

Attachment: bw_testing.pdf added

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Ok, but I'm not sure what we should do about that here. Sounds like a bug in ghostscript or imagemagick. Have you spoken to their developers?

Also, you should specify what you mean by "fails"; it works for me on Snow Leopard, as far as I can tell.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to takanori@…

Please remember to cc the maintainer.

comment:3 in reply to:  1 Changed 14 years ago by pixilla (Bradley Giesbrecht)

Replying to ryandesign@…:

Ok, but I'm not sure what we should do about that here. Sounds like a bug in ghostscript or imagemagick. Have you spoken to their developers?

I have not spoken with the developers but I will.

Also, you should specify what you mean by "fails"; it works for me on Snow Leopard, as far as I can tell.

Sorry, by "fails" I mean the colors in the png are very different then the colors in the pdf.

comment:4 Changed 14 years ago by pixilla (Bradley Giesbrecht)

The only place I could reproduce the pdf to png color issues was on my lone ppc machine which is hosting live services.

I setup a second MacPorts installation with prefix /opt/macports-test on this ppc machine and installed ghostscript. The /opt/macports-test/bin/gs program is creating good png's from the same pdf's I was using the with my standard MP install.

Not sure where I go from here. I have force upgraded ghostscript, ImageMagick and php5-imagick several times in my non-test env and my issue creating png's from pdf's remains. If I set the ghostscript version back 8.71_5 in the Portfile and rebuild then the png from pdf works.

comment:5 Changed 14 years ago by pixilla (Bradley Giesbrecht)

Resolution: invalid
Status: newclosed

I am the original reporter and I cannot reproduce this issue on same hardware with clean MacPorts install.

Note: See TracTickets for help on using tickets.