mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
ANI partial test and PIC test added
This commit is contained in:
parent
c5f7ea7eac
commit
181eb253c6
BIN
autotests/read/ani/test_1.ani
Normal file
BIN
autotests/read/ani/test_1.ani
Normal file
Binary file not shown.
BIN
autotests/read/ani/test_1.png
Normal file
BIN
autotests/read/ani/test_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 813 B |
BIN
autotests/read/pic/4x4-alpha.pic
Normal file
BIN
autotests/read/pic/4x4-alpha.pic
Normal file
Binary file not shown.
BIN
autotests/read/pic/4x4-alpha.png
Normal file
BIN
autotests/read/pic/4x4-alpha.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 98 B |
BIN
autotests/read/pic/4x4-simple-color.pic
Normal file
BIN
autotests/read/pic/4x4-simple-color.pic
Normal file
Binary file not shown.
BIN
autotests/read/pic/4x4-simple-color.png
Normal file
BIN
autotests/read/pic/4x4-simple-color.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 90 B |
BIN
autotests/read/pic/long-runs.pic
Normal file
BIN
autotests/read/pic/long-runs.pic
Normal file
Binary file not shown.
BIN
autotests/read/pic/long-runs.png
Normal file
BIN
autotests/read/pic/long-runs.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 B |
@ -521,6 +521,9 @@ bool ANIHandler::canRead(QIODevice *device)
|
||||
qWarning("ANIHandler::canRead() called with no device");
|
||||
return false;
|
||||
}
|
||||
if (device->isSequential()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const QByteArray riffIntro = device->peek(12);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user