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

Home » Public Forums » archive » Re: tiff to eps
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: tiff to eps [message #53662 is a reply to message #53651] Thu, 26 April 2007 12:19 Go to previous messageGo to previous message
mchinand is currently offline  mchinand
Messages: 66
Registered: September 1996
Member
In article <1S6Yh.6$25.138@news.uchicago.edu>,
Mike Chinander <mchinand@midway.uchicago.edu> wrote:
> In article <MPG.209ab4667a64d0a0989f62@news.frii.com>,
> David Fanning <news@dfanning.com> wrote:
>> David Fanning writes:
>>
>>> I would guess it depends entirely on how big you want
>>> the PostScript image to be. Why don't you try it and
>>> see? It is only a couple of commands:
>>>
>>> Read_JPEG, filename, image
>>> Set_Plot, 'PS'
>>> Device, /color, bits=8, /encap, xsize=5, ysize=3.5, /inches
>>> TVImge, image
>>> Device, /Close
>>
>> Well, lots of good non-IDL solutions. But in my little
>> test, using the rose.jpg file from the IDL distribution.
>> I got a file that weighed in at a hefty 204 KBytes. :-)
>>
>
> Considering that rose.jpg is only 5756 bytes, that's quite an increase.
>
> prompt> ls -l rose.jpg
> -rw-r--r-- 1 xfs users 5756 Jun 29 2005 rose.jpg

Forgot to include the comparison to using jpeg2ps

prompt> jpeg2ps /usr/local/packages/rsi/idl_6.2_i586/examples/data/rose.jpg > rose.eps
Note on file '/usr/local/packages/rsi/idl_6.2_i586/examples/data/rose.jpg ': 227x149 pixel, 3 color
components

prompt> ls -l rose.eps
-rw-r--r-- 1 user group 8272 Apr 26 14:18 rose.eps

Only 8272 bytes.

--Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Ubuntu Feisty and IDL
Next Topic: Antes de FAC Club

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

Current Time: Fri Oct 10 02:45:01 PDT 2025

Total time taken to generate the page: 0.00257 seconds