Add support for squashing TIFF output to 1-bit (#783)

This commit is contained in:
YvesBos
2017-04-27 00:47:29 +08:00
committed by Lovell Fuller
parent 567e3dd258
commit 4cd3b66761
7 changed files with 53 additions and 1 deletions

View File

@@ -106,6 +106,7 @@ struct PipelineBaton {
int tiffQuality;
VipsForeignTiffCompression tiffCompression;
VipsForeignTiffPredictor tiffPredictor;
bool tiffSquash;
std::string err;
bool withMetadata;
int withMetadataOrientation;
@@ -176,6 +177,7 @@ struct PipelineBaton {
tiffQuality(80),
tiffCompression(VIPS_FOREIGN_TIFF_COMPRESSION_JPEG),
tiffPredictor(VIPS_FOREIGN_TIFF_PREDICTOR_NONE),
tiffSquash(false),
withMetadata(false),
withMetadataOrientation(-1),
convKernelWidth(0),