mirror of
https://github.com/lovell/sharp.git
synced 2026-02-08 07:36:16 +01:00
Add withGainMap to process HDR JPEGs with embedded gain map #4314
This commit is contained in:
@@ -53,6 +53,8 @@ struct MetadataBaton {
|
||||
size_t xmpLength;
|
||||
char *tifftagPhotoshop;
|
||||
size_t tifftagPhotoshopLength;
|
||||
char *gainMap;
|
||||
size_t gainMapLength;
|
||||
MetadataComments comments;
|
||||
std::string err;
|
||||
|
||||
@@ -82,7 +84,9 @@ struct MetadataBaton {
|
||||
xmp(nullptr),
|
||||
xmpLength(0),
|
||||
tifftagPhotoshop(nullptr),
|
||||
tifftagPhotoshopLength(0) {}
|
||||
tifftagPhotoshopLength(0),
|
||||
gainMap(nullptr),
|
||||
gainMapLength(0) {}
|
||||
};
|
||||
|
||||
Napi::Value metadata(const Napi::CallbackInfo& info);
|
||||
|
||||
Reference in New Issue
Block a user