-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compress Stream to Stream #18
Comments
AbDfEnc.Deflate(ASource, ADest, nil); |
These are functions that you can simply call without dropping a component on a form. |
The code looks correct. Maybe the image cannot be zipped. You could try a text file instead. |
|
It depends on the image you are trying to zip, E,g, a .gif is already compressed so that zipping cannot reduce the size any more. In technical words, zipping tries to reduce the redundancy of a stream. If there is no redundancy you cannot remove it. |
Thank you so much for replying, it worked perfectly. |
I have no idea, try it. |
Hello, I would like to know if there is any example to compress stream to stream.
Ex:
I have a DataSet that I transform into a Stream, and I would like to compress the stream to another stream.
Today I use zlib to do the compression, but I'm looking for alternatives.
Thanks.
The text was updated successfully, but these errors were encountered: