Hi, I'm trying to add a comment to a jxl screenshot I made with mpv (https://mpv.io/manual/stable/#options-screenshot-format). I usually put comments in the tag description but if you suggest another one I'll take the suggestion.
I've installed IO::Compress::Brotli as suggested here (https://exiftool.org/forum/index.php?topic=14840.msg80285#msg80285) (though I don't know how to check if it works) and I've tried some variants of
exiftool -v3 -xmp:description="aaa" lossy.jxl
(adapted from this thread (https://exiftool.org/forum/index.php?topic=14515.msg78206#msg78206)). I've tried adding -api compress=1 as the Jpeg2000 Tags (https://exiftool.org/TagNames/Jpeg2000.html) page says "ExifTool will read/write Brotli-compressed EXIF and XMP in JXL images, but the API Compress option must be set to create new EXIF and XMP in compressed format."
In all cases the result has been
Writing XMP-crd:Description if tag exists
Writing XMP-crs:Description if tag exists
Writing XMP-dc:Description
Writing XMP-xmp:Description if tag exists
======== lossy.jxl
Rewriting lossy.jxl...
Error = [minor] Will wrap JXL codestream in ISO BMFF container for writing
Error: [minor] Will wrap JXL codestream in ISO BMFF container for writing - lossy.jxl
0 image files updated
1 files weren't updated due to errors
I have ExifTool v. 12.70.
Raw JXL codestream files can't contain metadata.
Use the -m option to ignore the minor error and allow ExifTool to wrap the JXL codestream in a BMFF container.
- Phil
Awesome! Thanks Phil :-)