mirror of
https://github.com/lovell/sharp.git
synced 2026-02-08 15:46:16 +01:00
Ensure withoutReduction does not interfere with contain/crop/embed (#3081)
This commit is contained in:
committed by
GitHub
parent
7eb5efa3a3
commit
83db5f8a2a
@@ -345,7 +345,7 @@ namespace sharp {
|
||||
the required thumbnail width/height and canvas mode.
|
||||
*/
|
||||
std::pair<double, double> ResolveShrink(int width, int height, int targetWidth, int targetHeight,
|
||||
Canvas canvas, bool swap, bool withoutEnlargement);
|
||||
Canvas canvas, bool swap, bool withoutEnlargement, bool withoutReduction);
|
||||
|
||||
} // namespace sharp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user