I am completely new to processing and I’m following the tutorials series. I am at “Images and pixels” tutorial and I made the “Adjusting image brightness” exercise which is based on mouse position.
My question is, how do I do this, on a window with different size than the image(let’s say 500 x 500). I tried different things like removing the loadPixels() function and let just the img.loadPixels(). The same thing I did for updatePixels and img.updatePixels() but it didn’t work. Maybe I didn’t understand very well, the working with the pixels on the window/image.
A little help please ?
Than you very much!