Servais (il/le)@discuss.tchncs.de to Casual Conversation @lemm.eeEnglish · 10 days agoHobbies Wednesday - what have you done this week?message-squaremessage-square20fedilinkarrow-up120arrow-down11
arrow-up119arrow-down1message-squareHobbies Wednesday - what have you done this week?Servais (il/le)@discuss.tchncs.de to Casual Conversation @lemm.eeEnglish · 10 days agomessage-square20fedilink
minus-squarescratsearcher 🔍🔮📊🎲linkfedilinkEnglisharrow-up1·edit-28 days agoresearching how to generate art with a computer quickly in text form (pbm) and save it in a better format (webp/png/jpg): This is what I landed on, using the magick command, my_program outputs to stdout, magick reads from stdin using the -: my_program | magick - output.webp https://imagemagick.org/script/formats.php I plan to use this in further weeks to draw rectangles, circles and other things in different configurations on bitmaps using only integer-based math.
researching how to generate art with a computer quickly in text form (pbm) and save it in a better format (webp/png/jpg):
This is what I landed on, using the
magick
command, my_program outputs tostdout
, magick reads fromstdin
using the-
:my_program | magick - output.webp
https://imagemagick.org/script/formats.php
I plan to use this in further weeks to draw rectangles, circles and other things in different configurations on bitmaps using only integer-based math.