I’ve just built a norns shield and I’d like to explore designing a visual sequencer. I’m aiming to import .PNG images, look at the RGB value of each pixel and convert that (in a user definable musical way) into an audio sequence. I would also like the user to be able to manipulate individual pixels and write that back to the PNG so that users could share their creations.
As it stands now, I can’t find a method to get or set the pixel data of an image. I’ve tried using imagemagick, but the command line implementation does not allow for pixel level manipulation. I started to try to implement imlib2 but can’t seem to get that to work either. Maiden throws an error as it is looking for resources that I don’t understand how to provide.
Is there any way to read/write pixel data from PNG files on the norns?