Expose unlimited option for SVG and PNG input #2984

This commit is contained in:
Lovell Fuller
2021-11-24 12:35:20 +00:00
parent 549219f32a
commit 407bfcb42a
6 changed files with 38 additions and 6 deletions

View File

@@ -50,6 +50,7 @@ namespace sharp {
char *buffer;
bool failOnError;
int limitInputPixels;
bool unlimited;
VipsAccess access;
size_t bufferLength;
bool isBuffer;
@@ -75,6 +76,7 @@ namespace sharp {
buffer(nullptr),
failOnError(TRUE),
limitInputPixels(0x3FFF * 0x3FFF),
unlimited(FALSE),
access(VIPS_ACCESS_RANDOM),
bufferLength(0),
isBuffer(FALSE),