Expose raw TIFFTAG_PHOTOSHOP metadata #1600

This commit is contained in:
Lovell Fuller
2019-11-29 13:05:07 +00:00
parent 400ef71b6f
commit d31a91a599
8 changed files with 40 additions and 1 deletions

View File

@@ -48,6 +48,8 @@ struct MetadataBaton {
size_t iptcLength;
char *xmp;
size_t xmpLength;
char *tifftagPhotoshop;
size_t tifftagPhotoshopLength;
std::string err;
MetadataBaton():
@@ -71,7 +73,9 @@ struct MetadataBaton {
iptc(nullptr),
iptcLength(0),
xmp(nullptr),
xmpLength(0) {}
xmpLength(0),
tifftagPhotoshop(nullptr),
tifftagPhotoshopLength(0) {}
};
NAN_METHOD(metadata);