I am using:
step': undefined methodpixels=’ for
on_button_clicked' from image.rb:5:into_proc’
call' from image.rb:77:inmain’
the pixels= method is documented here:
Without reloading the pixels the image seems unchanged.
Any advice on modifying images welcome.
I want to change individual pixels programatically and view the
results in realtime, hence the pixels accessor. I just want to
visually verify what is done to the image, I am not particularly
interested in performance. While it would be possible to draw the
image programatically as well I would prefer loading a test pattern
from a file so that it can be replaced easily.