Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

problem with loadPixel() in Android mode

$
0
0

Hello all . Again here with a problem. I'm trying to do a color sorting from an image in Android app made with processing.. I write the processing sketch in java mode here it is (http://pastebin.com/raw/W9w2Q3KG). The image required can be found here . the result is. . The code for android mode is commented in the same sketch as "//for android". Just uncomment them.

So when I do that i get a black screen . The image loads. without color sorting algorithm . I'm using loadpixels and other parameters which seems to not work in android mode. Can anyone scrutinize the code and say where I need to correct it so get the same result from the android app


Viewing all articles
Browse latest Browse all 941

Trending Articles