Rockin’ it 8-bit (thanks to Maryke)

Rockin’ it 8-bit (thanks to @maryke87)

Instagram filter used: Normal

View in Instagram ⇒

Made with:

#!/bin/bash
# selfi.sh - strongly influenced by Interstellar Selfie Station
#                          http://interstellarselfiestation.com
# scruss - 2014-06-26

anytopnm "$1" |\
  pnmscale -xsize 160 |\
  pnmhisteq |\
  ppmdither -red 4 -green 4 -blue 4 |\
  ppmtopgm |\
  pnmremap -mapfile < (echo P3 4 1 255 108 108 78 142 139 97 195 196 165 227 230 201) |\
  pnmscale -nomix 2 |\
  pnmtopng > "${1%.*}-selfi_sh.png"