|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Problem converting transparent PDF to PNGHello all -
I'm having the problem (which Professor Google tells me is common) converting PDF to PNG. The PDFs are white text on a transparent background, and when I convert them I only get a solid white document. This is on Red Hat 4.x, and due to that limitation, Rackspace is only able to get GS 7.07 installed. gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dEPSCrop -sOutputFile=/path/to/output.png /path/to/input.pdf I've tried all the variations on the above I can think of. Any suggestions? - Brian _______________________________________________ gs-devel mailing list gs-devel@... http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel |
|
|
Re: Problem converting transparent PDF to PNGOn 17/06/11 15:07, Brian Dunning wrote:
> Hello all - > > I'm having the problem (which Professor Google tells me is common) converting PDF to PNG. The PDFs are white text on a transparent background, and when I convert them I only get a solid white document. This is on Red Hat 4.x, and due to that limitation, Rackspace is only able to get GS 7.07 installed. > > gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dEPSCrop -sOutputFile=/path/to/output.png /path/to/input.pdf > > I've tried all the variations on the above I can think of. Any suggestions? Do you mean that the PDFs use the PDF transparency capabilities for the background? Or that the background is just "not marked"? Chris _______________________________________________ gs-devel mailing list gs-devel@... http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel |
|
|
Re: Problem converting transparent PDF to PNGInteresting question, I'm not sure. I start with a transparent, blank doc saved as a Photoshop PDF, and then I use FPDI/FPDF in PHP to add the white text. That's the doc.
On Jun 17, 2011, at 7:25 AM, Chris Liddell wrote: > Do you mean that the PDFs use the PDF transparency capabilities for the > background? Or that the background is just "not marked"? _______________________________________________ gs-devel mailing list gs-devel@... http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel |
|
|
Re: Problem converting transparent PDF to PNGOn Fri, 17 Jun 2011 07:07:26 -0700
Brian Dunning <brian@...> wrote: > Hello all - > > I'm having the problem (which Professor Google tells me is common) > converting PDF to PNG. The PDFs are white text on a transparent > background, and when I convert them I only get a solid white > document. This is on Red Hat 4.x, and due to that limitation, > Rackspace is only able to get GS 7.07 installed. > > gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dEPSCrop > -sOutputFile=/path/to/output.png /path/to/input.pdf > > I've tried all the variations on the above I can think of. Any > suggestions? > > - Brian > _______________________________________________ > gs-devel mailing list > gs-devel@... > http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel > John Culleton _______________________________________________ gs-devel mailing list gs-devel@... http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel |
|
|
|
|
|
Re: Problem converting transparent PDF to PNGOn Friday, June 17, 2011 10:25:51 am Chris Liddell wrote: > On 17/06/11 15:07, Brian Dunning wrote: > > Hello all - > > > > I'm having the problem (which Professor Google tells me is common) > > converting PDF to PNG. The PDFs are white text on a transparent > > background, and when I convert them I only get a solid white document. > > This is on Red Hat 4.x, and due to that limitation, Rackspace is only > > able to get GS 7.07 installed. > > > > gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dEPSCrop > > -sOutputFile=/path/to/output.png /path/to/input.pdf > > > > I've tried all the variations on the above I can think of. Any > > suggestions? > > Do you mean that the PDFs use the PDF transparency capabilities for the > background? Or that the background is just "not marked"? > > Chris > _______________________________________________ > gs-devel mailing list > http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel I am not sure that png supports transparency. -- John Culleton "Death Wore Black" Police procedural: http://www.deathworeblack.com/ "Create Book Covers with Scribus" http://booklocker.com/books/4055.html _______________________________________________ gs-devel mailing list gs-devel@... http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel |
|
|
Re: Problem converting transparent PDF to PNG2011/6/28 John Culleton <john@...>:
> I am not sure that png supports transparency. It does. https://secure.wikimedia.org/wikipedia/en/wiki/Portable_Network_Graphics#Transparency_of_image Best Martin PS: http://www.penmachine.com/techie/emailtrouble_2003-07.html _______________________________________________ gs-devel mailing list gs-devel@... http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel |
|
|
Re: Problem converting transparent PDF to PNGBrian,
Did you get to solve the problem? I seem to run into the same problem... Jf
|
| Free embeddable forum powered by Nabble | Forum Help |