summaryrefslogtreecommitdiff
path: root/desk/mar/png.hoon
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-09-11 01:48:14 +0700
committerpolwex <polwex@sortug.com>2025-09-11 01:48:14 +0700
commitb1d68ac307ed87d63e83820cbdf843fff0fd9f7f (patch)
treed6a684a70a80509e68ff667b842aa4e4c091906f /desk/mar/png.hoon
init
Diffstat (limited to 'desk/mar/png.hoon')
-rw-r--r--desk/mar/png.hoon12
1 files changed, 12 insertions, 0 deletions
diff --git a/desk/mar/png.hoon b/desk/mar/png.hoon
new file mode 100644
index 0000000..6a60a6a
--- /dev/null
+++ b/desk/mar/png.hoon
@@ -0,0 +1,12 @@
+|_ dat=@
+++ grow
+ |%
+ ++ mime [/image/png (as-octs:mimes:html dat)]
+ --
+++ grab
+ |%
+ ++ mime |=([p=mite q=octs] q.q)
+ ++ noun @
+ --
+++ grad %mime
+--