Zlib decompression - Any ideas?
Mark Smith
lists at futilism.com
Mon Dec 29 16:04:32 EST 2008
I wonder if these files are simply raw compressed data with no
headers or enclosing 'container'.
I'm assuming you've tried just reading in the binary data and using
'decompress' in revolution - the docs for 'compress/decompress' say
it's based on zlib compression.
Best,
Mark
On 29 Dec 2008, at 19:37, Ken Ray wrote:
>>> So I'm guessing that a shell call to gunzip should be able to
>>> cope...
>>
>> Thanks, Mark... I'll see how that works when I get the files...
>
> OK, I got the files, and they were created using Delphi on Windows
> with the
> "TCompressionStream" method. I'm trying to read them from Rev, and
> gunzip
> complains with "not in gzip format".
>
> Is it possible that since it came from Windows that there's some byte
> ordering issues here? Or are there any other suggestions?
>
> Thanks,
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list