{"id":10794,"date":"2014-06-25T20:37:07","date_gmt":"2014-06-25T20:37:07","guid":{"rendered":"http:\/\/scruss.com\/blog\/2014\/06\/25\/rockin-it-8-bit-thanks-to-maryke87\/"},"modified":"2021-10-23T08:57:27","modified_gmt":"2021-10-23T12:57:27","slug":"rockin-it-8-bit-thanks-to-maryke87","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2014\/06\/25\/rockin-it-8-bit-thanks-to-maryke87\/","title":{"rendered":"Rockin&#8217; it 8-bit (thanks to Maryke)"},"content":{"rendered":"<p><a href=\"http:\/\/instagram.com\/p\/pr_lTnRUMw\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"insta-image\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2014\/06\/10507954_267023426834683_345289593_n.jpg\" alt=\"\" width=\"640\" height=\"640\" \/><\/a><\/p>\n<p>Instagram filter used: Normal<\/p>\n<p><a href=\"http:\/\/instagram.com\/p\/pr_lTnRUMw\/\" target=\"_blank\" rel=\"noopener\">View in Instagram \u00e2\u2021\u2019<\/a><\/p>\n<p>Made with:<\/p>\n<pre>#!\/bin\/bash\n# selfi.sh - strongly influenced by Interstellar Selfie Station\n#                          http:\/\/interstellarselfiestation.com\n# scruss - 2014-06-26\n\nanytopnm \"$1\" |\\\n  pnmscale -xsize 160 |\\\n  pnmhisteq |\\\n  ppmdither -red 4 -green 4 -blue 4 |\\\n  pnmremap -mapfile &lt; (echo P3 4 1 255 108 108 78 142 139 97 195 196 165 227 230 201) |\\\n  pnmscale -nomix 2 |\\\n  pnmtopng &gt; \"${1%.*}-selfi_sh.png\"\n<\/pre>\n\n\n<p>Update, 2021: well, who knew that software that purportedly hasn&#8217;t changed since 2001 (<em>netpbm<\/em> on Debian) would change? This script broke between 2016\u00e2\u20ac\u201c2021, and I had to remove the <em>ppmtopgm<\/em> line that was after the <em>ppmdither<\/em> call to make it work again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rockin&#8217; it 8-bit (thanks to @maryke87)<\/p>\n","protected":false},"author":2,"featured_media":10795,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[11],"tags":[1477,2687,809,2815,1372],"class_list":["post-10794","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-photo","tag-bash","tag-instagram","tag-netpbm","tag-selfi-sh","tag-shell"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2014\/06\/10507954_267023426834683_345289593_n.jpg","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-2O6","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/10794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=10794"}],"version-history":[{"count":4,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/10794\/revisions"}],"predecessor-version":[{"id":16884,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/10794\/revisions\/16884"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media\/10795"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=10794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=10794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=10794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}