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
Certain combinations of sizes do not resize correctly, due to the combination of rounding in the extension and in the libvips library.
For example, given a source image of 752x726 pixels, certain widths will not resize correctly:
Target width 593 - actually resizes to 592 Target width 622 - actually resizes to 621 Target width 651 - actually resizes to 650 Target width 680 - actually resizes to 679
This in turn means that further cropping will not take place.
The text was updated successfully, but these errors were encountered:
#20 Issue with dimension rounding and certain combinations of source/…
74df0c0
…target sizes
Fixed in v1.0.8
Sorry, something went wrong.
sebduggan
No branches or pull requests
Certain combinations of sizes do not resize correctly, due to the combination of rounding in the extension and in the libvips library.
For example, given a source image of 752x726 pixels, certain widths will not resize correctly:
Target width 593 - actually resizes to 592
Target width 622 - actually resizes to 621
Target width 651 - actually resizes to 650
Target width 680 - actually resizes to 679
This in turn means that further cropping will not take place.
The text was updated successfully, but these errors were encountered: