Re: EPS to PDF contour plots [message #75694 is a reply to message #75568] |
Mon, 04 April 2011 17:04   |
Heinz Stege
Messages: 189 Registered: January 2003
|
Senior Member |
|
|
On Mon, 4 Apr 2011 08:58:09 -0700 (PDT), Matt wrote:
> On Apr 4, 11:38�am, David Fanning <n...@idlcoyote.com> wrote:
>
>> Is there any chance you can make the PostScript file available?
>>
>> Cheers,
>>
>> David
>>
>
> Sure. It's here: http://dl.dropbox.com/u/13779929/Test.ps. I've been
> playing around with it a bit, so it's a slightly different version to
> the PDF above, but same idea.
>
> Cheers,
>
> Matt
Hi Matt,
there are no stripes within the graphics, when you use Ghostscript to
convert the Postscript file to PDF. You can even do it from the IDL
command line. Here is, what I did on Windows:
input_file='test.ps'
output_file='test.pdf'
command='"C:\Program Files\gs\gs8.61\bin\gswin32c.exe" '+$
'-q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress '+$
'-dAutoRotatePages=/PageByPage -sOutputFile="'+output_file+'" '+$
input_file
spawn,command,stdout,stderr,/noshell
print,stdout,stderr
For me the PDF looks perfect. No stripes.
The filesize of the test.pdf is 60 kB.
HTH, Heinz
|
|
|