RE: Using zlib without compressing data

2004-03-29 Thread joe bloggs
>From what you are saying it sounds like the easiest way for me to achieve my goal of allowing the user to choose between uncompressed and compresesd is to copy files directly (skipping deflate function) if no compression is required. That is simple enough and makes perfect sense. Many thanks, J

RE: Using zlib without compressing data

2004-03-29 Thread Scott Johnson
From: joe bloggs [mailto:[EMAIL PROTECTED] > Just to clarify, I am using the full gzip format when > file compression takes place (when compression level > > 0). When the data is not compressed I do not include > the header or trailing data. OK, it sounds like your intent is to produce either co

RE: Using zlib without compressing data

2004-03-29 Thread joe bloggs
I see... and thank you for the knowledge. Just to clarify, I am using the full gzip format when file compression takes place (when compression level > 0). When the data is not compressed I do not include the header or trailing data. Are saying that even if the data is not compressed, I still n

RE: Using zlib without compressing data

2004-03-29 Thread Scott Johnson
From: joe bloggs [mailto:[EMAIL PROTECTED] > If they decide not to compress the files, the app sets > the deflate compression level to 0 (indicating that no > compression is to take place). This works as expected > except that the deflate function seems to add a few bytes [...] > Does anyone know

Re: Using zlib without compressing data

2004-03-29 Thread Alan Ingleby
"joe bloggs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does anyone know why this extra data is added to every > chunk passed to the deflate function? Probably to tell the decompression engine that the data is not compressed... Alan -- For information on using the Palm Deve