mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-14 02:54:19 -04:00
JXR: Added rotation (transformation) support
- Full rotation support on load and save. - Improve also Windows compatibility by converting RGB32 to BGR32 on saving Images saved with orientation are displayed correctly by Windows Explorer (which natively supports JXR files): {width=597 height=259}
This commit is contained in:
committed by
Albert Astals Cid
parent
e5cf9caac5
commit
c0261f4926
BIN
autotests/read/jxr/orientation1.jxr
Normal file
BIN
autotests/read/jxr/orientation1.jxr
Normal file
Binary file not shown.
11
autotests/read/jxr/orientation1.jxr.json
Normal file
11
autotests/read/jxr/orientation1.jxr.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "LIFE Pro 2.18.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
BIN
autotests/read/jxr/orientation2.jxr
Normal file
BIN
autotests/read/jxr/orientation2.jxr
Normal file
Binary file not shown.
11
autotests/read/jxr/orientation2.jxr.json
Normal file
11
autotests/read/jxr/orientation2.jxr.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "LIFE Pro 2.18.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
BIN
autotests/read/jxr/orientation3.jxr
Normal file
BIN
autotests/read/jxr/orientation3.jxr
Normal file
Binary file not shown.
11
autotests/read/jxr/orientation3.jxr.json
Normal file
11
autotests/read/jxr/orientation3.jxr.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "LIFE Pro 2.18.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
BIN
autotests/read/jxr/orientation4.jxr
Normal file
BIN
autotests/read/jxr/orientation4.jxr
Normal file
Binary file not shown.
11
autotests/read/jxr/orientation4.jxr.json
Normal file
11
autotests/read/jxr/orientation4.jxr.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "LIFE Pro 2.18.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
BIN
autotests/read/jxr/orientation5.jxr
Normal file
BIN
autotests/read/jxr/orientation5.jxr
Normal file
Binary file not shown.
11
autotests/read/jxr/orientation5.jxr.json
Normal file
11
autotests/read/jxr/orientation5.jxr.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "LIFE Pro 2.18.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
BIN
autotests/read/jxr/orientation6.jxr
Normal file
BIN
autotests/read/jxr/orientation6.jxr
Normal file
Binary file not shown.
11
autotests/read/jxr/orientation6.jxr.json
Normal file
11
autotests/read/jxr/orientation6.jxr.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "LIFE Pro 2.18.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
BIN
autotests/read/jxr/orientation7.jxr
Normal file
BIN
autotests/read/jxr/orientation7.jxr
Normal file
Binary file not shown.
11
autotests/read/jxr/orientation7.jxr.json
Normal file
11
autotests/read/jxr/orientation7.jxr.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "LIFE Pro 2.18.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
BIN
autotests/read/jxr/orientation8.jxr
Normal file
BIN
autotests/read/jxr/orientation8.jxr
Normal file
Binary file not shown.
11
autotests/read/jxr/orientation8.jxr.json
Normal file
11
autotests/read/jxr/orientation8.jxr.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "orientation_all.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "Software" ,
|
||||
"value" : "LIFE Pro 2.18.10"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
BIN
autotests/read/jxr/orientation_all.png
Normal file
BIN
autotests/read/jxr/orientation_all.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Binary file not shown.
Reference in New Issue
Block a user