gziped files [message #11388] |
Thu, 09 April 1998 00:00  |
mph406
Messages: 1 Registered: April 1998
|
Junior Member |
|
|
Is there a way to access a directory containing gzipped files (images in this case), unzip those files,
read them into an array (which I can already do when unzipped manually from the system prompt) and then re-zip the files, all within a .pro.
============================================================ ==============
Dr. Gordon D. Waiter. Tel +44 (0)1224 681818 ext 52297
Department of Bio-Medical Physics Fax +44 (0)1224 404426
and Bio-Engineering e-mail g.waiter@biomed.abdn.ac.uk
University of Aberdeen, http://www.biomed.abdn.ac.uk/
Foresterhill,
Aberdeen, AB25 2ZD,UK.
============================================================ ==============
|
|
|
Re: gziped files [message #11473 is a reply to message #11388] |
Fri, 10 April 1998 00:00  |
biomedical
Messages: 13 Registered: January 1998
|
Junior Member |
|
|
dlhopols@knmi.nl wrote:
> mph406@biomed.abdn.ac.uk wrote:
>> read them into an array (which I can already do when unzipped
>> manually from
>> the system prompt) and then re-zip the files, all within a .pro.
>
> SPAWN,command,unit = lun
I think the previous question 'zip-unzip' in a .pro file meant
that idl program zip-unzip an image file without the help of
system commands. Image files are huge, compression is necessary,
zcat (for UNIX) or winzip, pczip (for PC) are good shortcuts, but
it at least not elegent to launch a system command, any way I don't
like it. I am wondering whether there are functions already written
in IDL to do the basic compression(lossless encoding) to reduce
the image file size.
Thanks
|
|
|