{"id":270,"date":"2007-08-07T19:14:04","date_gmt":"2007-08-07T16:14:04","guid":{"rendered":"http:\/\/www.void.gr\/kargig\/blog\/?p=270"},"modified":"2007-08-07T19:17:24","modified_gmt":"2007-08-07T16:17:24","slug":"oneliner-text-to-image-using-imagemagick","status":"publish","type":"post","link":"https:\/\/www.void.gr\/kargig\/blog\/2007\/08\/07\/oneliner-text-to-image-using-imagemagick\/","title":{"rendered":"Oneliner: text to image using imagemagick"},"content":{"rendered":"<p><code>$ convert -size 200x30 xc:transparent -font \/usr\/share\/fonts\/dejavu\/DejaVuSansMono.ttf -fill black -pointsize 12 -draw \"text 5,15 'this is just a test'\" test.png<\/code><\/p>\n<p>The result: <img src='http:\/\/www.void.gr\/kargig\/blog\/wp-content\/test.png' alt='' \/><\/p>\n<p>With this oneliner it&#8217;s very easy to create images of e-mail addresses for anti-spam purposes (pretty old-fashioned though).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>$ convert -size 200&#215;30 xc:transparent -font \/usr\/share\/fonts\/dejavu\/DejaVuSansMono.ttf -fill black -pointsize 12 -draw &#8220;text 5,15 &#8216;this is just a test'&#8221; test.png The result: With this oneliner it&#8217;s very easy to create images of e-mail addresses for anti-spam purposes (pretty old-fashioned though).<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"footnotes":""},"categories":[5,3,4],"tags":[],"class_list":["post-270","post","type-post","status-publish","format-standard","hentry","category-internet","category-linux","category-privacy"],"aioseo_notices":[],"views":15994,"_links":{"self":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":0,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/posts\/270\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/media?parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/categories?post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.void.gr\/kargig\/blog\/wp-json\/wp\/v2\/tags?post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}