Re: Compress array?? [message #46757] |
Wed, 21 December 2005 04:18 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
Antonio Santiago <santiago@grahi.upc.edu> writes:
> Hi, I have a little problem.
>
> I need to read a XML file where some elements contains binary data.
> This data is compressed with qcompress and quncompress (from the Qt
> library) that uses zlib, the same as 'open' COMPRESS keyword in IDL.
> I need to uncompress these arrays of data.
>
> Is there any function out there that brings me the possiblity to
> compress and uncompress a byte array instead to read a compress file
> (like open) ??
I also wish there was such a function, but I don't believe there is.
I believe you will have to write your data to a file and then open it
with /COMPRESS.
Good luck,
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|