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

Home » Public Forums » archive » Re: Compress array??
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: Compress array?? [message #46757] Wed, 21 December 2005 04:18
Craig Markwardt is currently offline  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
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Previous Topic: Re: The fastest way to extract some points in million poits data set
Next Topic: combining many files with the same format into one file

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

Current Time: Sat Oct 11 00:59:50 PDT 2025

Total time taken to generate the page: 0.72010 seconds