How to add extra RGB to costume's pixels

Im vibin on a project that edits pics.
currently I want to be able to increase the R(or G or B) values of all pixels of a costume. how can I do that?

Turns out my idea was already correct. it was failing because of some other thing.
here is the code
image processing test script pic (1)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.