2016 vancouver instagram
create files for holy
./AddHourToAvgColour-id-time-date-csv.rb ./THUMBNAIL_150x150/23july2016-ig-van-2016-jan-may-2016-avgcolor-id-mf-month-day-daynum.csv >27july2016-ig-van-2016-jan-may-2016-avgcolour-id-mf-month-day-daynum-unixtime-hour.csv
grep FriJan1 27july2016-ig-van-2016-jan-may-2016-avgcolour-id-mf-month-day-daynum-unixtime-hour.csv >01january2016-ig-avgcolour-id-mf-month-day-daynum-unixtime-hour.csv
#get a file for just january 1, 2016
cd THUMBNAIL_150x150
../printAvgColour-id-time-date.rb >23july2016-ig-van-2016-jan-may-2016-avgcolor-id-mf-month-day-daynum.csv
# CSV file for R pie chartcat 23july2016-ig-van-2016-jan-may-2016-avgcolor-id-mf-month-day-daynum.csv | grep Jan >2016-january-2016-avgcolor-id-mf-month-day-daynum.csv
# file for small multiples for each of the 31 days of January
idea: square pie charts and/or regular round pie charts!
Creating a zazzle graphic (which seemed to work fine in yoshirt):
cd THUMBNAIL_5x5
ls -1 | head -67200 >first67200.txt # 2100/5 = 420x 800/5=160 420x160=67200, zazzle size: 2100px X 800px
Riffing off of https://gist.github.com/rtanglao/8988d2602238661b3138gm montage -verbose -adjoin -tile 420x160 +frame +shadow +label -adjoin -geometry '5x5+0+0<' @first67200.txt first67200photos.png
mkdir THUMBNAIL_5x5
./create5x5thumbnails.rb THUMBNAIL_150x150 THUMBNAIL_5x5/
- get average colour of all thumbails
cd THUMBNAIL_150x150
../printAverageColourHexValue.rb >31may2016avgcolour.txt
- print to zazzle graphic
cat 31may2016avgcolour.txt | ../printZazzle2100x800.rb \
> 31May2016-834pm-zazzle-2100x800-1hexcolourperline
- create RAW file
xxd -r -p 31May2016-834pm-zazzle-2100x800-1hexcolourperline >
31May2016-834pm-zazzle-2100x800.raw (or.rgb, photoshop requires .raw)
- open in photoshop save as png, no compression 2100x800 3 bytes per pixel
- download 150x150:
mkdir THUMBNAIL_150x150
cd !$
../download150x150-ig.rb
- download metadata using
. setupRTInstagram
backupPublicVancouverPhotosByDateTaken.rb 2016 1 1 2016 5 28