{"id":61,"date":"2011-03-17T09:34:00","date_gmt":"2011-03-17T13:34:00","guid":{"rendered":"http:\/\/www.lektrikpuke.com\/blog\/?p=61"},"modified":"2011-03-17T09:55:02","modified_gmt":"2011-03-17T13:55:02","slug":"php-image-manipulation","status":"publish","type":"post","link":"https:\/\/lektrikpuke.com\/blog\/2011\/03\/17\/php-image-manipulation\/","title":{"rendered":"PHP Image Manipulation"},"content":{"rendered":"<p>I recently played with some of PHP&#8217;s built-in image manipulation  features and produced a script that will automatically resize, save, and  display an image using hash marks to represent each individual pixel  (of the image) in either color or black and white.<\/p>\n<p>As yet I haven&#8217;t found anything to use this for, other than amusing myself, but I&#8217;m sure there&#8217;s something I can use this for.\u00a0 Nah!<\/p>\n<p>Here is a small screenshot of one of the images:<\/p>\n<div id=\"attachment_70\" style=\"width: 259px\" class=\"wp-caption alignleft\"><a rel=\"attachment wp-att-70\" href=\"http:\/\/www.lektrikpuke.com\/blog\/computer-stuff\/php-image-manipulation\/attachment\/young-me-in-hash-marks\/\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-70\" class=\"size-medium wp-image-70\" title=\"young-me-in-hash-marks\" src=\"http:\/\/www.lektrikpuke.com\/blog\/wp-content\/uploads\/2011\/03\/young-me-in-hash-marks-249x300.jpg\" alt=\"Me when I was younger, displayed here using hash marks\" width=\"249\" height=\"300\" \/><\/a><p id=\"caption-attachment-70\" class=\"wp-caption-text\">Me when I was younger, displayed here in black and white using hash marks.<\/p><\/div>\n<p>Note:  If you magnify the view, click on the image and you&#8217;ll go to a larger image, then change the view\/zoom of your browser (zoom in), you can see the hash marks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently played with some of PHP&#8217;s built-in image manipulation features and produced a script that will automatically resize, save, and display an image using hash marks to represent each individual pixel (of the image) in either color or black &hellip; <a href=\"https:\/\/lektrikpuke.com\/blog\/2011\/03\/17\/php-image-manipulation\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72],"tags":[49,6,89],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-computer-stuff","tag-image","tag-php","tag-script"],"_links":{"self":[{"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":14,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions\/68"}],"wp:attachment":[{"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lektrikpuke.com\/blog\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}