mirror of
https://github.com/lovell/sharp.git
synced 2026-02-04 13:46:19 +01:00
Ensure decoding remains sequential for all ops #3725
This commit is contained in:
@@ -370,6 +370,11 @@ namespace sharp {
|
||||
std::pair<double, double> ResolveShrink(int width, int height, int targetWidth, int targetHeight,
|
||||
Canvas canvas, bool swap, bool withoutEnlargement, bool withoutReduction);
|
||||
|
||||
/*
|
||||
Ensure decoding remains sequential.
|
||||
*/
|
||||
VImage StaySequential(VImage image, VipsAccess access, bool condition = TRUE);
|
||||
|
||||
} // namespace sharp
|
||||
|
||||
#endif // SRC_COMMON_H_
|
||||
|
||||
Reference in New Issue
Block a user