Expose PNG metadata comments (#4157)

This commit is contained in:
Nathan Keynes
2024-07-19 03:08:03 +10:00
committed by GitHub
parent c2a024101b
commit d642108be2
6 changed files with 70 additions and 0 deletions

View File

@@ -9,6 +9,8 @@
#include "./common.h"
typedef std::vector<std::pair<std::string, std::string>> MetadataComments;
struct MetadataBaton {
// Input
sharp::InputDescriptor *input;
@@ -47,6 +49,7 @@ struct MetadataBaton {
size_t xmpLength;
char *tifftagPhotoshop;
size_t tifftagPhotoshopLength;
MetadataComments comments;
std::string err;
MetadataBaton():