Change PNG aura from @t to @

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).
This commit is contained in:
Raymond E. Pasco 2021-03-02 14:00:12 -05:00 committed by GitHub
parent 7d451a37b8
commit 2823b2729b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
|_ dat=@t
|_ dat=@
++ grow
|%
++ mime [/image/png (as-octs:mimes:html dat)]
@ -6,7 +6,7 @@
++ grab
|%
++ mime |=([p=mite q=octs] q.q)
++ noun @t
++ noun @
--
++ grad %mime
--