Add ability to extend (pad) the edges of an image

This commit is contained in:
Lovell Fuller
2016-03-03 09:18:11 +00:00
parent 86815bc9c4
commit f950294f70
8 changed files with 139 additions and 1 deletions

View File

@@ -60,6 +60,10 @@ struct PipelineBaton {
bool rotateBeforePreExtract;
bool flip;
bool flop;
int extendTop;
int extendBottom;
int extendLeft;
int extendRight;
bool progressive;
bool withoutEnlargement;
VipsAccess accessMethod;
@@ -106,6 +110,10 @@ struct PipelineBaton {
angle(0),
flip(false),
flop(false),
extendTop(0),
extendBottom(0),
extendLeft(0),
extendRight(0),
progressive(false),
withoutEnlargement(false),
quality(80),