mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Ensure scaling factors are calculated independently #452
Fixes bug introduced in v0.15.0 where, if the shrink operation rounded up along one dimension, it could then also round up the reduce operation on the same axis, creating a small stretch effect.
This commit is contained in:
BIN
test/fixtures/expected/embed-16bit.png
vendored
BIN
test/fixtures/expected/embed-16bit.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 999 B After Width: | Height: | Size: 789 B |
Reference in New Issue
Block a user