Skip to content

Instantly share code, notes, and snippets.

View drayde's full-sized avatar

Andreas Kahler drayde

View GitHub Profile
@tsulej
tsulej / Image2RAW.pde
Created February 7, 2015 23:09
Convert image to RGB RAW files
/* Generate RAW files which can be sonificated and then imported to IrfanView.
* generateme.tumblr.com, 2015, v0.1.
* erros? write generateme.blog@gmail.com
*
* To use it change lines:
* img = loadImage(<insert image filename here>);
* and
* makeRaw(<filename prefix>, <channel order or gray>, <bits per pixel>, <bits per 1st channel>, <bits per 2nd channel>, <bits per 3rd channel>);
*
* Details: