mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 07:35:19 +03:00
2823b2729b
No PNG is (sane %t) - the PNG header alone isn't. This should also be octs, not an atom, as a binary filetype - it works for PNG purely by coincidence (no valid PNG can end with a sequence of 00 bytes, because they have to end with 00 00 00 00 49 45 4e 44 ae 42 60 82).
13 lines
167 B
Plaintext
13 lines
167 B
Plaintext
|_ dat=@
|
|
++ grow
|
|
|%
|
|
++ mime [/image/png (as-octs:mimes:html dat)]
|
|
--
|
|
++ grab
|
|
|%
|
|
++ mime |=([p=mite q=octs] q.q)
|
|
++ noun @
|
|
--
|
|
++ grad %mime
|
|
--
|