mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Report image metadata such as ICCP and XMP
This commit is contained in:
1 parent
abaaee3cac
commit
21f2890217
7 files changed
+857
-200
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 110 B |
@@ -0,0 +1,54 @@
|
||||
# Feed this file to script/make-artificial.go
|
||||
|
||||
make gif
|
||||
|
||||
header
|
||||
|
||||
image {
|
||||
imageWidthHeight 2 2
|
||||
palette {
|
||||
0x00 0x00 0xFF
|
||||
0x11 0x00 0xFF
|
||||
0x22 0x00 0xFF
|
||||
0x33 0x00 0xFF
|
||||
}
|
||||
}
|
||||
|
||||
# ICCP metadata.
|
||||
#
|
||||
# Extension (Application Extension), 11 bytes for AI and AAC.
|
||||
bytes 0x21 0xFF 0x0B
|
||||
# Application Identifier "ICCRGBG1".
|
||||
bytes 0x49 0x43 0x43 0x52 0x47 0x42 0x47 0x31
|
||||
# Application Authentication Code "012".
|
||||
bytes 0x30 0x31 0x32
|
||||
# A block of arbitrary data.
|
||||
bytes 0x05 0x16 0x26 0x36 0x46 0x56
|
||||
# Another block of arbitrary data.
|
||||
bytes 0x03 0x76 0x86 0x96
|
||||
# Block Terminator.
|
||||
bytes 0x00
|
||||
|
||||
# XMP metadata.
|
||||
#
|
||||
# Extension (Application Extension), 11 bytes for AI and AAC.
|
||||
bytes 0x21 0xFF 0x0B
|
||||
# Application Identifier "XMP Data".
|
||||
bytes 0x58 0x4D 0x50 0x20 0x44 0x61 0x74 0x61
|
||||
# Application Authentication Code "XMP".
|
||||
bytes 0x58 0x4D 0x50
|
||||
# A block of arbitrary data.
|
||||
bytes 0x05 0x17 0x27 0x37 0x47 0x57
|
||||
# Another block of arbitrary data.
|
||||
bytes 0x03 0x77 0x87 0x97
|
||||
# Block Terminator.
|
||||
bytes 0x00
|
||||
|
||||
loopCount 2000
|
||||
|
||||
frame {
|
||||
frameLeftTopWidthHeight 1 0 1 1
|
||||
}
|
||||
lzw 4 0x01
|
||||
|
||||
trailer
|
||||
Reference in new issue
Block a user