Expose depth option for tile-based output (#1342)

This commit is contained in:
Alun Davies
2018-08-18 22:09:53 +08:00
committed by Lovell Fuller
parent d705cffdd6
commit b5b95e5ae1
5 changed files with 285 additions and 11 deletions

View File

@@ -139,6 +139,7 @@ struct PipelineBaton {
VipsForeignDzLayout tileLayout;
std::string tileFormat;
int tileAngle;
VipsForeignDzDepth tileDepth;
PipelineBaton():
input(nullptr),
@@ -220,7 +221,8 @@ struct PipelineBaton {
tileOverlap(0),
tileContainer(VIPS_FOREIGN_DZ_CONTAINER_FS),
tileLayout(VIPS_FOREIGN_DZ_LAYOUT_DZ),
tileAngle(0){
tileAngle(0),
tileDepth(VIPS_FOREIGN_DZ_DEPTH_LAST){
background[0] = 0.0;
background[1] = 0.0;
background[2] = 0.0;