mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-08-26 08:26:59 -04:00
KRA/ORA: merged in a single plugin and added metadata support
- ORA/KRA: merged in a single plugin (KRA) - ORA: removed standalone plugin - KRA: use of logging category - KRA: add metadata support by processing the embedded `documentinfo.xml` - Improved signature lookup (see MR !17) and added test case
This commit is contained in:
@@ -165,7 +165,6 @@ HANDLER_TYPES="ani
|
||||
jxl
|
||||
jxr
|
||||
kra
|
||||
ora
|
||||
pcx
|
||||
pfm
|
||||
pic
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
Usage:
|
||||
python infra/helper.py build_image kimageformats
|
||||
python infra/helper.py build_fuzzers --sanitizer undefined|address|memory kimageformats
|
||||
python infra/helper.py run_fuzzer kimageformats kimgio_[ani|avif|dds|exr|ff|hdr|heif|iff|jp2|jxl|jxr|kra|ora|pcx|pfm|pic|psd|pxr|qoi|ras|raw|rgb|sct|tim|tga|xcf]_fuzzer
|
||||
python infra/helper.py run_fuzzer kimageformats kimgio_[ani|avif|dds|exr|ff|hdr|heif|iff|jp2|jxl|jxr|kra|pcx|pfm|pic|psd|pxr|qoi|ras|raw|rgb|sct|tim|tga|xcf]_fuzzer
|
||||
*/
|
||||
|
||||
#include <QBuffer>
|
||||
@@ -65,11 +65,8 @@
|
||||
#include "jxr_p.h"
|
||||
#define HANDLER JXRHandler
|
||||
#elif defined KIMG_FUZZER_kra
|
||||
#include "kra.h"
|
||||
#include "kra_p.h"
|
||||
#define HANDLER KraHandler
|
||||
#elif defined KIMG_FUZZER_ora
|
||||
#include "ora.h"
|
||||
#define HANDLER OraHandler
|
||||
#elif defined KIMG_FUZZER_pcx
|
||||
#include "pcx_p.h"
|
||||
#define HANDLER PCXHandler
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "src.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "CreationDate",
|
||||
"value" : "2016-01-27T10:40:16"
|
||||
},
|
||||
{
|
||||
"key" : "ModificationDate",
|
||||
"value" : "2016-01-27T10:41:28"
|
||||
},
|
||||
{
|
||||
"key" : "Author" ,
|
||||
"value" : "Boudewijn Rempt"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"fileName" : "src.png",
|
||||
"metadata" : [
|
||||
{
|
||||
"key" : "CreationDate",
|
||||
"value" : "2016-01-27T10:40:16"
|
||||
},
|
||||
{
|
||||
"key" : "ModificationDate",
|
||||
"value" : "2026-07-16T07:00:36"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Binary file not shown.
Reference in New Issue
Block a user