You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A question on VIPS_MAX_WIDTH, VIPS_MAX_HEIGHT and VIPS_MAX_RESOLUTION;
This seems like a really dumb thing to have to ask, but after re-reading the docs, I still wasn't sure. Are these arguments limiting the allowed size of the actual input/source image or the allowed output parameters/dimensions?
When the docs say
imagor checks the image type and its resolution before the actual processing happens
To me that reads that it's checking the source image -- otherwise if it's looking at the requested output, then I'd say something like
imagor checks the requested image type and resolution parameters before the actual processing happens
Happy to submit a PR to this effect if it's the latter case.
Thanks!
The text was updated successfully, but these errors were encountered:
We've got an example of a source image that's over the VIPS_MAX_WIDTH, but that has a .jpeg extension and returns content-type: binary/octet-stream. It gets processed without issue.
Compared to another oversized source image, with a .jpg extension which returns content-type: image/jpg, and any imagor requests for processing result in the {"message":"maximum resolution exceeded","status":422} response.
A question on VIPS_MAX_WIDTH, VIPS_MAX_HEIGHT and VIPS_MAX_RESOLUTION;
This seems like a really dumb thing to have to ask, but after re-reading the docs, I still wasn't sure. Are these arguments limiting the allowed size of the actual input/source image or the allowed output parameters/dimensions?
When the docs say
To me that reads that it's checking the source image -- otherwise if it's looking at the requested output, then I'd say something like
Happy to submit a PR to this effect if it's the latter case.
Thanks!
The text was updated successfully, but these errors were encountered: