Have std/png pass through EXIF data

Fixes #59
This commit is contained in:
Nigel Tao committed 2021-11-26 19:14:30 +11:00
1 parent 5f6a522563
commit 72d4a9e769
8 files changed
+265 -25

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

@@ -0,0 +1,32 @@
# Feed this file to script/make-artificial.go
make png
magic
IHDR {
raw {
# Width, height.
0x00 0x00 0x00 0x01
0x00 0x00 0x00 0x01
# Depth, color, compression, filter, interlace.
0x08 0x00 0x00 0x00 0x00
}
}
eXIf {
raw {
# "LoremIpsum" isn't valid EXIF data. It's just a placeholder.
0x4C 0x6F 0x72 0x65 0x6D 0x49 0x70 0x73 0x75 0x6D
}
}
IDAT {
zlib {
# 1x1 gray pixels (with filter bytes).
0x00 0x80
}
}
IEND {
}