{"id":27,"date":"2012-11-25T22:01:45","date_gmt":"2012-11-26T05:01:45","guid":{"rendered":"https:\/\/blogs.ubc.ca\/kvalade\/?p=27"},"modified":"2012-11-27T13:17:01","modified_gmt":"2012-11-27T20:17:01","slug":"technical-questions","status":"publish","type":"post","link":"https:\/\/blogs.ubc.ca\/kvalade\/2012\/11\/25\/technical-questions\/","title":{"rendered":"Technical Questions"},"content":{"rendered":"<p>The images created might not have been all that cool, but they do kind of provide a springboard for some questions about how the text is converted to images. All the questions you didn&#8217;t know you had are answered in a whole bunch of detail on the <a title=\"Wikipedia - JPEG\" href=\"http:\/\/en.wikipedia.org\/wiki\/JPEG#JPEG_compression\">JPEG Wikipedia page<\/a><\/p>\n<p>Failing to understand that Wikipedia page, I guess one way to get some insight is to convert an image into text.<\/p>\n<p>There are 3,686,400\u00a0characters in a digital picture (694kb) converted into a string of text.<\/p>\n<p>Here are characters 56,000 &#8211; 60,000:<\/p>\n<p><a href=\"https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/image-characters.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-28\" title=\"image-characters\" src=\"https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/image-characters-300x132.jpg\" alt=\"\" width=\"300\" height=\"132\" srcset=\"https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/image-characters-300x132.jpg 300w, https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/image-characters-1024x453.jpg 1024w, https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/image-characters-500x221.jpg 500w, https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/image-characters.jpg 1164w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Pretty ugly. In fact, these characters are different from text editor to text editor, so they probably don&#8217;t match any sort of <a title=\"Wikipedia - Character encoding\" href=\"http:\/\/en.wikipedia.org\/wiki\/Character_encoding\">character encoding<\/a> and are more just a representation of the bytes that are actually being stored in the file. But we can definitely see that regular English characters aren&#8217;t going to make much of an image &#8211; explaining why we get <a title=\"First Try and Denouement\" href=\"https:\/\/blogs.ubc.ca\/kvalade\/2012\/11\/25\/first-try-and-denouement\/\">such ugly blobs of pixels<\/a> with\u00a0<em>Beyond Good and Evil<\/em>.<\/p>\n<p>For reference, here is what\u00a0<em>Beyond Good and Evil\u00a0<\/em>looks like when its text is repeated 24 times until it hits about 9.5 million characters.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/textRepeater-1280x960-RGB.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-91\" title=\"Beyond Good and Evil -1280x960-RGB\" src=\"https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/textRepeater-1280x960-RGB-1024x768.jpg\" alt=\"\" width=\"584\" height=\"438\" srcset=\"https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/textRepeater-1280x960-RGB-1024x768.jpg 1024w, https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/textRepeater-1280x960-RGB-300x225.jpg 300w, https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/textRepeater-1280x960-RGB-400x300.jpg 400w, https:\/\/blogs.ubc.ca\/kvalade\/files\/2012\/11\/textRepeater-1280x960-RGB.jpg 1280w\" sizes=\"auto, (max-width: 584px) 100vw, 584px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The images created might not have been all that cool, but they do kind of provide a springboard for some questions about how the text is converted to images. All the questions you didn&#8217;t know you had are answered in &hellip; <a href=\"https:\/\/blogs.ubc.ca\/kvalade\/2012\/11\/25\/technical-questions\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":16181,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/users\/16181"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":7,"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":30,"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/posts\/27\/revisions\/30"}],"wp:attachment":[{"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ubc.ca\/kvalade\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}