|
Re: reduce the size of eps [message #49844 is a reply to message #49842] |
Wed, 23 August 2006 07:14  |
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  |
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  |
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  |
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  |
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
|
|
|