{"id":481,"date":"2015-06-06T10:14:18","date_gmt":"2015-06-06T10:14:18","guid":{"rendered":"http:\/\/www.mirageglobe.com\/wp\/?p=481"},"modified":"2015-06-06T10:14:18","modified_gmt":"2015-06-06T10:14:18","slug":"display-image-as-ascii-art","status":"publish","type":"post","link":"https:\/\/pages.alldaycity.com\/mirageglobe\/display-image-as-ascii-art\/","title":{"rendered":"Display image as ASCII art"},"content":{"rendered":"<p><a href=\"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-content\/uploads\/sites\/2\/2015\/06\/gooddesign.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-482\" src=\"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-content\/uploads\/sites\/2\/2015\/06\/gooddesign.png\" alt=\"gooddesign\" width=\"1834\" height=\"1218\" \/><\/a><br \/>\nYou can convert an image to ascii art. First install using the aview which is part of aalib using homebrew.\u00a0http:\/\/aa-project.sourceforge.net\/aview\/<\/p>\n<blockquote><p>&gt; brew install aview<\/p><\/blockquote>\n<p>Make sure you have a graphics converter. Some use imagemagick, but I recommend graphicsmagick due to the simplicity of command.\u00a0http:\/\/www.graphicsmagick.org\/<\/p>\n<blockquote><p>&gt; brew install graphicsmagick<\/p><\/blockquote>\n<p>Aview supports only pnm (graphics format). Now convert the image using graphicsmagick. I use png format, but you can use jpg or others.<\/p>\n<blockquote><p>&gt; gm convert myimage.png myimage.pnm<\/p><\/blockquote>\n<p>And finally see it in ASCII<\/p>\n<blockquote><p>&gt; aview s.pnm<\/p><\/blockquote>\n<p><a href=\"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-content\/uploads\/sites\/2\/2015\/06\/asciisample.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-483\" src=\"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-content\/uploads\/sites\/2\/2015\/06\/asciisample.png\" alt=\"asciisample\" width=\"1841\" height=\"1080\" \/><\/a><br \/>\n&nbsp;<br \/>\nAlternatively, consider using libcaca which seems to be better maintained.\u00a0http:\/\/caca.zoy.org\/wiki\/libcaca<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can convert an image to ascii art. First install using the aview which is part of aalib using homebrew.\u00a0http:\/\/aa-project.sourceforge.net\/aview\/ &gt; brew install aview Make sure you have a graphics converter. Some use imagemagick, but I recommend graphicsmagick due to the simplicity of command.\u00a0http:\/\/www.graphicsmagick.org\/ &gt; brew install graphicsmagick Aview supports only pnm (graphics format). Now [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-481","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts\/481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/comments?post=481"}],"version-history":[{"count":0,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts\/481\/revisions"}],"wp:attachment":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/media?parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/categories?post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/tags?post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}