mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 20:15:28 -04:00
Parse ANIM metadata
Still need to expose them in image metadata
This commit is contained in:
parent
c858454c5a
commit
b766420e3e
@ -142,6 +142,16 @@ final class WebPImageReader extends ImageReaderBase {
|
|||||||
case WebP.CHUNK_ANIM:
|
case WebP.CHUNK_ANIM:
|
||||||
// TODO: 32 bit bg color (hint!) + 16 bit loop count
|
// TODO: 32 bit bg color (hint!) + 16 bit loop count
|
||||||
// + expose bg color in std image metadata...
|
// + expose bg color in std image metadata...
|
||||||
|
|
||||||
|
/*
|
||||||
|
int b = (int) lsbBitReader.readBits(8);
|
||||||
|
int g = (int) lsbBitReader.readBits(8);
|
||||||
|
int r = (int) lsbBitReader.readBits(8);
|
||||||
|
int a = (int) lsbBitReader.readBits(8);
|
||||||
|
|
||||||
|
Color bg = new Color(r, g, b, a);
|
||||||
|
short loopCount = (short) lsbBitReader.readBits(16);
|
||||||
|
*/
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WebP.CHUNK_ANMF:
|
case WebP.CHUNK_ANMF:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user