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

Home » Public Forums » archive » Re: reduce the size of eps
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: reduce the size of eps [message #49842] Wed, 23 August 2006 07:58
David Streutker is currently offline  David Streutker
Messages: 34
Registered: June 2005
Member
Have you tried the SCALE_FACTOR keyword for the PostScript device?

-David
Re: reduce the size of eps [message #49844 is a reply to message #49842] Wed, 23 August 2006 07:14 Go to previous message
Edd Edmondson is currently offline  Edd Edmondson
Messages: 50
Registered: January 2003
Member
In comp.lang.idl-pvwave michael <Steve.Morris@libero.it> wrote:
> Hi there (sorry for the cross-posting),

> I have some eps plot (done with IDL, some of them in colours) that are
> far too big.

> I should upload them on online archive server and I have to resize
> them. I have tried something like the following command (I'm using
> linux)

> gs -r300 -dEPSCrop -dTextAlphaBits=4 -sDEVICE=png16m
> -sOutputFile=fig.png -dBATCH -dNOPAUSE fig.eps

> but it does not work.

Doesn't work how? No output?

> I was wondering if there's any tip or trick to reduce the size of the
> eps file to be used in a latex file.
> I have opened the eps file with text editor and canceled the %% lines.
> That reduce the size of almost nothing :(
> Apparently IDL is clever and there aren't any redundant fonts ...


Probably depends what exactly you're plotting. Can you give more info?

--
Edd
Re: reduce the size of eps [message #49845 is a reply to message #49844] Wed, 23 August 2006 06:57 Go to previous message
Steve.Morris@libero.i is currently offline  Steve.Morris@libero.i
Messages: 12
Registered: March 2006
Junior Member
> Since you seem to be using png as output, I assume you're using
> pdflatex. Have you tried epstopdf? BTW: what does not work? no output

actaully I'm really novice with the above command. I don't get any
output, unfortunately.

I would also be interested into know if I can convert eps into another
eps with lower resolution. Again, I have been foöling around the
eps2eps command, but quite uncesfully :(

> Have you tried to set some keywords to the device call:
> set_plot, "PS"
> device, LANGUAGE_LEVEL=2, /encapsulated

Anywya, this will be of great help for my future plotting ....
Re: reduce the size of eps [message #49846 is a reply to message #49845] Wed, 23 August 2006 06:39 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
michael wrote:

> I have some eps plot (done with IDL, some of them in colours) that are
> far too big.

Have you tried to set some keywords to the device call:
set_plot, "PS"
device, LANGUAGE_LEVEL=2, /encapsulated

PS level 2 should be a lot smaller than the default level 1.

Maarten
Re: reduce the size of eps [message #49847 is a reply to message #49846] Wed, 23 August 2006 06:32 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
michael wrote:

> I should upload them on online archive server and I have to resize
> them. I have tried something like the following command (I'm using
> linux)
>
> gs -r300 -dEPSCrop -dTextAlphaBits=4 -sDEVICE=png16m
> -sOutputFile=fig.png -dBATCH -dNOPAUSE fig.eps
>
> but it does not work.

Since you seem to be using png as output, I assume you're using
pdflatex. Have you tried epstopdf? BTW: what does not work? no output,
no reduction, or subsequent inclusion into dvi-latex does not work? The
latter is no surprise, as dvi-latex doesn't handle bitmaps.

Maarten
Re: reduce the size of eps [message #49991 is a reply to message #49846] Wed, 23 August 2006 07:57 Go to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <1156340379.315739.85190@74g2000cwt.googlegroups.com>,
"Maarten" <maarten.sneep@knmi.nl> wrote:

> michael wrote:
>
>> I have some eps plot (done with IDL, some of them in colours) that are
>> far too big.
>
> Have you tried to set some keywords to the device call:
> set_plot, "PS"
> device, LANGUAGE_LEVEL=2, /encapsulated
>
> PS level 2 should be a lot smaller than the default level 1.
>
> Maarten

I'm trying to find this keyword in the documentation and can't. Any idea when
it was added? I thought the PS device driver hadn't changed in years.

Ken Bowman
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: VECTOR_FIELD trouble
Next Topic: idl_startup.pro

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

Current Time: Wed Oct 08 14:00:19 PDT 2025

Total time taken to generate the page: 0.00695 seconds