POV-Ray : Newsgroups : povray.off-topic : Ghostscript : Re: Ghostscript Server Time
4 Sep 2024 21:19:06 EDT (-0400)
  Re: Ghostscript  
From: bart
Date: 13 Nov 2009 18:03:14
Message: <4afde5b2$1@news.povray.org>
Orchid XP v8 wrote:
> Anybody know how to get Ghostscript to convert an EPS file to a PDF file 
> with the correct size?
> 
> I have an EPS file of a diagram that's about three inches square, but 
> when I ask Ghostscript to convert it to PDF, I get an A4 page, which 
> obviously isn't what I want.
> 
> Any ideas?
> 

You could try asymptote to convert an .eps
to a .pdf of the same dimensions,
just create a one-line text file "x.asy" like:
==============8<==============
label(graphic("epsfile.eps"));
==============8<==============
and run
asy -f pdf x.asy

to get x.pdf


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.