mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-23 13:14:19 -04:00
Metadata and image resolution write test
The goal of MR is to control the correct saving of metadata and resolution in plugins that support them. - Modified the basic write test to verify that resolution and metadata are saved correctly. - Verifies the correct functioning of MicroExif in plugins that use it to save metadata. - EXR: fixed wrong vertical resolution (error found with this MR). - Added EXR, JXR, JXL, PCX metadata test.
This commit is contained in:
33
autotests/write/basic/jxr.json
Normal file
33
autotests/write/basic/jxr.json
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
"format" : "jxr",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "CreationDate",
|
||||
"value" : "2025-01-14T13:53:32+01:00"
|
||||
},
|
||||
{
|
||||
"key" : "Author",
|
||||
"value" : "KDE Project"
|
||||
},
|
||||
{
|
||||
"key" : "Copyright",
|
||||
"value" : "@2025 KDE Project"
|
||||
},
|
||||
{
|
||||
"key" : "Description",
|
||||
"value" : "TV broadcast test image."
|
||||
},
|
||||
{
|
||||
"key" : "Manufacturer",
|
||||
"value" : "KFramework"
|
||||
},
|
||||
{
|
||||
"key" : "Model",
|
||||
"value" : "KImageFormats"
|
||||
}
|
||||
],
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 10000,
|
||||
"dotsPerMeterY" : 11000
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user