Image processing question
in
Programming Questions
•
10 months ago
Do you have to call
both
pic.loadPixels() and
loadPixels() ?
Or can you just call
loadPixels(); ?
- pic = loadImage("DMC_SHORT_B.png");
- pic.loadPixels();
- loadPixels();
- for (int i=0; i<count; i+=4){
- pixels[i] = pic.pixels[i];
- }
- updatePixels();
1