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

Home » Public Forums » archive » Re: Saving Images
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: Saving Images [message #1155] Wed, 14 July 1993 21:22
ak251 is currently offline  ak251
Messages: 1
Registered: July 1993
Junior Member
In a previous article, aqb5890@ACF1.NYU.EDU () says:

> Hi,
> I know this is probably a FAQ, but I didn't see it in the FAQ.
> Given an MxN array of bytes, is there some simple way to save the array
> as a JPEG or GIF (or some other common standard) image?
> Are there progrmas available to do this?
> Thanks,
> atman
> atman@eib1.gsfc.nasa.gov or aqb5890@acfcluster.nyu.edu
>
DC_WRITE_TIFF

pic = bytarr(512,512)
pic = something more stimulating than all zero's
status = dc_write_tiff('file.tif',pic,class='bilevel',compress='pack' )
end

You will need your manual to find out more about using class and
compress.

Good Luck. Let me know if I can help you again.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL Query - No axes wanted
Next Topic: File reading Query

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

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

Total time taken to generate the page: 0.00469 seconds