Skip to content
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

Limit buffer size instead of image dimensions #105

Closed
birktj opened this issue Feb 28, 2019 · 0 comments · Fixed by #115
Closed

Limit buffer size instead of image dimensions #105

birktj opened this issue Feb 28, 2019 · 0 comments · Fixed by #115

Comments

@birktj
Copy link
Member

birktj commented Feb 28, 2019

The Limits struct should limit buffer size instead of image dimensions. With image-rs/image#860 I had remove the limits in order to decode large images, with a limit on buffer size one could decode huge images while keeping a reasonable limit on memory usage.

Also see discussion in image-rs/image-tiff#29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant