We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What about doing the actual capping? It seems like finish_compressed_chunks() will happily keep allocating as much as the the zlib stream wants.
Originally posted by @jrmuizel in #285 (comment)
That is, the caller can not control the final size which makes the limits set in Decoder::limits ineffective.
Decoder::limits
The text was updated successfully, but these errors were encountered:
Default to no limits in PNG decoder now that they are actually enforc…
e6e8788
…ed. This is consistent with other decoders. The limits don't do much right now anyway due to image-rs/image-png#286
No branches or pull requests
What about doing the actual capping? It seems like finish_compressed_chunks() will happily keep allocating as much as the the zlib stream wants.
Originally posted by @jrmuizel in #285 (comment)
That is, the caller can not control the final size which makes the limits set in
Decoder::limits
ineffective.The text was updated successfully, but these errors were encountered: