comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Reducing size of vector EPS / PDF output
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Reducing size of vector EPS / PDF output [message #91464 is a reply to message #91446] Thu, 16 July 2015 18:53 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Fabien writes:

> I draw many glacier outlines on a plot (using old-school graphics and
> cgPolygon and stuff). The EPS/PDF output looks great but the file size
> is too large (> 6 Mb), simply because the level of precision of my
> shapefiles is very high (much higher than necessary for the plot itself).
>
> Do you know of any way to tell IDL's postscript to reduce the precision
> of the vectorized output? Or, as a workaround, any external tool that
> could do the job?

I've done this before to make lower resolution shape files. I don't
remember the details, exactly, but I think I used the always-useful
ArcSample program in the Coyote Library to sample the polygon at
approximately equally space intervals.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: thresholding image
Next Topic: Creating a legend on graphs in postscript, and maps

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:27:45 PDT 2025

Total time taken to generate the page: 0.00399 seconds