Skip to content

Are VIPS_MAX_WIDTH and VIPS_MAX_HEIGHT restrictions on the source or ouput image? #533

@EyePulp

Description

@EyePulp

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions