Add API to get/set image size limits #224
Labels
enhancement
New feature or request
performance
Issue that adversely affects resource (CPU/memory/storage) usage
priority-high
security
Security issue
Milestone
Right now the maximum JPEG/PNG image dimensions are hardcoded at 64kx64k (12GB for the largest RGB image), but embedded platforms like the Raspberry Pi top out at much less and don't typically have swap. We need API for this:
A max value of
0
means "unlimited". The defaults should be 16k for width and height and 64MB for total size.The text was updated successfully, but these errors were encountered: