mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-24 21:34:18 -04:00
JXL: Resolution and metadata support via EXIF
- Added a class to read and write minimal exif metadata. - JXL plugin uses EXIF metadata to load/save the resolution of the image (like GIMP). - JXL plugin uses EXIF metadata to set/store text metadata and date/time. - Enable info display in Dolphin (JXL File -> Properties -> Details on a JXL file, see image below). - Enabled read test to check also image metadata and resolution. {width=401 height=357}
This commit is contained in:
19
autotests/read/jxl/gimp_exif.jxl.json
Normal file
19
autotests/read/jxl/gimp_exif.jxl.json
Normal file
@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "gimp_exif.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"Key" : "CreationDate",
|
||||
"Value" : "2025-01-05T10:18:16"
|
||||
},
|
||||
{
|
||||
"Key" : "Software" ,
|
||||
"Value" : "GIMP 3.0.0-RC2"
|
||||
}
|
||||
],
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 5905,
|
||||
"dotsPerMeterY" : 6692
|
||||
}
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user