Re: [darktable-devel] XMP JPEG segment is larger than 65535 bytes

2013-09-28 Thread Ulrich Pegelow
Short feedback on that topic. The JPEG specs seem to require all XMP tags to fit into one single 64k segment. Splitting it up would violate that standard and potentially make the file incompatible. One learning is that for JPEG outputs we can not guarantee to include an arbitrarily sized XMP bl

Re: [darktable-devel] XMP JPEG segment is larger than 65535 bytes

2013-09-26 Thread Ulrich Pegelow
Am 26.09.2013 12:57, schrieb Dimitrios Psychogios: > From a cursory websearch it looks like this is not possible in the > standard APP1 segment normally used for XMP data. You should be able to > use multiple APP2 segments which i believe are also used for ICC profile > data (which are usually >6

Re: [darktable-devel] XMP JPEG segment is larger than 65535 bytes

2013-09-26 Thread Dimitrios Psychogios
>From a cursory websearch it looks like this is not possible in the standard APP1 segment normally used for XMP data. You should be able to use multiple APP2 segments which i believe are also used for ICC profile data (which are usually >64K). Some sample code I found is here: http://src.chromium