mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
More metadata read tests
Adds some metadata/read resolution tests without adding new images.
This commit is contained in:
parent
287a447095
commit
873ec1bb5f
9
autotests/read/exr/rgb-gimp.exr.json
Normal file
9
autotests/read/exr/rgb-gimp.exr.json
Normal file
@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "rgb-gimp.png",
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 3937,
|
||||
"dotsPerMeterY" : 3937
|
||||
}
|
||||
}
|
||||
]
|
@ -1,5 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png"
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "GEGL"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1,5 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png"
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "GEGL"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1,5 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png"
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "GEGL"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1,5 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png"
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "GEGL"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1,5 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png"
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "GEGL"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1,5 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png"
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "GEGL"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1,5 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png"
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "GEGL"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1,5 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png"
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "GEGL"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -1,7 +1,11 @@
|
||||
[
|
||||
{
|
||||
"minQtVersion" : "6.8.0",
|
||||
"fileName" : "testcard_cmyk8.tif"
|
||||
"fileName" : "testcard_cmyk8.tif",
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 3780,
|
||||
"dotsPerMeterY" : 3780
|
||||
}
|
||||
},
|
||||
{
|
||||
"maxQtVersion" : "6.7.99",
|
||||
|
9
autotests/read/pcx/ICONDOC.pcx.json
Normal file
9
autotests/read/pcx/ICONDOC.pcx.json
Normal file
@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "ICONDOC.png",
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 25197,
|
||||
"dotsPerMeterY" : 13780
|
||||
}
|
||||
}
|
||||
]
|
19
autotests/read/raw/RAW_KODAK_C330_FORMAT_NONE_YRGB.raw.json
Normal file
19
autotests/read/raw/RAW_KODAK_C330_FORMAT_NONE_YRGB.raw.json
Normal file
@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "RAW_KODAK_C330_FORMAT_NONE_YRGB.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Manufacturer",
|
||||
"value" : "Kodak"
|
||||
},
|
||||
{
|
||||
"key" : "Model" ,
|
||||
"value" : "C330"
|
||||
}
|
||||
],
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 3937,
|
||||
"dotsPerMeterY" : 3937
|
||||
}
|
||||
}
|
||||
]
|
@ -1,7 +1,11 @@
|
||||
[
|
||||
{
|
||||
"minQtVersion" : "6.8.0",
|
||||
"fileName" : "cmyk.tif"
|
||||
"fileName" : "cmyk.tif",
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 3780,
|
||||
"dotsPerMeterY" : 3780
|
||||
}
|
||||
},
|
||||
{
|
||||
"maxQtVersion" : "6.7.99",
|
||||
|
@ -2,7 +2,11 @@
|
||||
{
|
||||
"minQtVersion" : "6.7.0",
|
||||
"fileName" : "birthday16.png",
|
||||
"seeAlso" : "https://bugreports.qt.io/browse/QTBUG-120614"
|
||||
"seeAlso" : "https://bugreports.qt.io/browse/QTBUG-120614",
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 4724,
|
||||
"dotsPerMeterY" : 4724
|
||||
}
|
||||
},
|
||||
{
|
||||
"minQtVersion" : "6.0.0",
|
||||
|
@ -2,7 +2,11 @@
|
||||
{
|
||||
"minQtVersion" : "6.7.0",
|
||||
"fileName" : "birthday32.png",
|
||||
"seeAlso" : "https://bugreports.qt.io/browse/QTBUG-120614"
|
||||
"seeAlso" : "https://bugreports.qt.io/browse/QTBUG-120614",
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 4724,
|
||||
"dotsPerMeterY" : 4724
|
||||
}
|
||||
},
|
||||
{
|
||||
"minQtVersion" : "6.0.0",
|
||||
|
15
autotests/read/xcf/bug_476755_rgb_layers.xcf.json
Normal file
15
autotests/read/xcf/bug_476755_rgb_layers.xcf.json
Normal file
@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "bug_476755_rgb_layers.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Comment" ,
|
||||
"value" : "Created with GIMP"
|
||||
}
|
||||
],
|
||||
"resolution" : {
|
||||
"dotsPerMeterX" : 62992,
|
||||
"dotsPerMeterY" : 62992
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user