mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-05 06:03:28 +00:00
Test code for PNG rendering
This commit is contained in:
parent
2280c34ee8
commit
2aea7fe742
@ -69,3 +69,8 @@
|
|||||||
balance)]
|
balance)]
|
||||||
(with-open [w (io/output-stream filename)]
|
(with-open [w (io/output-stream filename)]
|
||||||
(.write w (:png_data (db/get-image-data issue-id hash))))))
|
(.write w (:png_data (db/get-image-data issue-id hash))))))
|
||||||
|
|
||||||
|
|
||||||
|
(comment
|
||||||
|
(with-open [w (io/output-stream "foo.png")]
|
||||||
|
(.write w (gen-comment-image "0xf00barbeeff00barbeeff00barbeeff00barbeef" "12.2" {:SNT 250 :GNO 100 :WTF 3452.42} "http://github.com/someorg/somerepo/issues/42"))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user