Expose density metadata; set density of images from vector input

This commit is contained in:
Lovell Fuller
2016-03-01 19:27:47 +00:00
parent d92ea31858
commit bb37dc1ea6
12 changed files with 98 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ struct PipelineBaton {
size_t bufferInLength;
std::string iccProfilePath;
int limitInputPixels;
std::string density;
int density;
int rawWidth;
int rawHeight;
int rawChannels;
@@ -79,7 +79,7 @@ struct PipelineBaton {
PipelineBaton():
bufferInLength(0),
limitInputPixels(0),
density(""),
density(72),
rawWidth(0),
rawHeight(0),
rawChannels(0),