android layout - Bitmap.getPixel(j,i) returns wrong RGB values? -
trying rgb values of pixel in jpeg image. screen shot of original image photoshop @ 2020% magnification
i have made image("trial.jpg") in adobe self, , put few red, green , blue pixels in image (30,11) pixel grid starts @ 0,0(ie top left corner).
here code:
for(int = 0; < 11; i++) { for(int j = 0; j < 30; j++) { int c = garage.getpixel(j,i); int red1 = color.red(c); int green1 = color.green(c); int blue1 = color.blue(c); log.e("pixel",j + "/" + + "= red: " + red1 +" green: " + green1 + " blue: " + blue1); } }
i check log, wrong rgb values. know cause put red(255,0,0), blue(0,0,255) , green(0,255,0) in particular squares(pixels).
here log :
04-10 03:25:29.171: 0/0= red: 255 green: 7 blue: 0 04-10 03:25:29.171: 1/0= red: 191 green: 5 blue: 1 04-10 03:25:29.171: 2/0= red: 64 green: 1 blue: 3 04-10 03:25:29.171: 3/0= red: 64 green: 0 blue: 5 04-10 03:25:29.171: 4/0= red: 190 green: 0 blue: 8 04-10 03:25:29.171: 5/0= red: 190 green: 0 blue: 7 04-10 03:25:29.175: 6/0= red: 64 green: 0 blue: 2 04-10 03:25:29.175: 7/0= red: 64 green: 1 blue: 0 04-10 03:25:29.175: 8/0= red: 190 green: 3 blue: 0 04-10 03:25:29.175: 9/0= red: 190 green: 5 blue: 0 04-10 03:25:29.175: 10/0= red: 63 green: 5 blue: 0 04-10 03:25:29.175: 11/0= red: 1 green: 3 blue: 1 04-10 03:25:29.175: 12/0= red: 5 green: 1 blue: 3 04-10 03:25:29.179: 13/0= red: 6 green: 0 blue: 3 04-10 03:25:29.179: 14/0= red: 4 green: 0 blue: 1 04-10 03:25:29.179: 15/0= red: 4 green: 0 blue: 0 04-10 03:25:29.179: 16/0= red: 4 green: 0 blue: 0 04-10 03:25:29.179: 17/0= red: 64 green: 4 blue: 0 04-10 03:25:29.179: 18/0= red: 186 green: 12 blue: 0 04-10 03:25:29.179: 19/0= red: 185 green: 13 blue: 0 04-10 03:25:29.179: 20/0= red: 61 green: 5 blue: 0 04-10 03:25:29.179: 21/0= red: 0 green: 2 blue: 0 04-10 03:25:29.179: 22/0= red: 2 green: 4 blue: 0 04-10 03:25:29.179: 23/0= red: 4 green: 3 blue: 0 04-10 03:25:29.179: 24/0= red: 6 green: 1 blue: 1 04-10 03:25:29.179: 25/0= red: 7 green: 0 blue: 1 04-10 03:25:29.179: 26/0= red: 9 green: 0 blue: 0 04-10 03:25:29.179: 27/0= red: 9 green: 0 blue: 0 04-10 03:25:29.179: 28/0= red: 7 green: 0 blue: 1 04-10 03:25:29.179: 29/0= red: 5 green: 1 blue: 3 04-10 03:25:29.179: 0/1= red: 191 green: 5 blue: 2 04-10 03:25:29.179: 1/1= red: 144 green: 4 blue: 3 04-10 03:25:29.179: 2/1= red: 49 green: 3 blue: 3 04-10 03:25:29.179: 3/1= red: 49 green: 2 blue: 4 04-10 03:25:29.179: 4/1= red: 143 green: 1 blue: 6 04-10 03:25:29.179: 5/1= red: 143 green: 0 blue: 5 04-10 03:25:29.179: 6/1= red: 48 green: 0 blue: 1 04-10 03:25:29.179: 7/1= red: 48 green: 0 blue: 0 04-10 03:25:29.179: 8/1= red: 144 green: 2 blue: 0 04-10 03:25:29.179: 9/1= red: 144 green: 3 blue: 0 04-10 03:25:29.179: 10/1= red: 49 green: 3 blue: 0 04-10 03:25:29.179: 11/1= red: 3 green: 3 blue: 0 04-10 03:25:29.179: 12/1= red: 5 green: 2 blue: 2 04-10 03:25:29.179: 13/1= red: 6 green: 1 blue: 3 04-10 03:25:29.179: 14/1= red: 4 green: 1 blue: 1 04-10 03:25:29.179: 15/1= red: 3 green: 1 blue: 0 04-10 03:25:29.179: 16/1= red: 4 green: 1 blue: 0 04-10 03:25:29.179: 17/1= red: 50 green: 3 blue: 1 04-10 03:25:29.183: 18/1= red: 140 green: 9 blue: 3 04-10 03:25:29.183: 19/1= red: 138 green: 9 blue: 3 04-10 03:25:29.183: 20/1= red: 46 green: 3 blue: 2 04-10 03:25:29.183: 21/1= red: 0 green: 1 blue: 1 04-10 03:25:29.183: 22/1= red: 1 green: 3 blue: 0 04-10 03:25:29.187: 23/1= red: 3 green: 3 blue: 0 04-10 03:25:29.187: 24/1= red: 4 green: 1 blue: 2 04-10 03:25:29.187: 25/1= red: 5 green: 0 blue: 3 04-10 03:25:29.187: 26/1= red: 7 green: 1 blue: 1 04-10 03:25:29.187: 27/1= red: 7 green: 1 blue: 1 04-10 03:25:29.187: 28/1= red: 6 green: 0 blue: 1 04-10 03:25:29.187: 29/1= red: 4 green: 1 blue: 2 04-10 03:25:29.187: 0/2= red: 63 green: 1 blue: 8 04-10 03:25:29.187: 1/2= red: 49 green: 3 blue: 7 04-10 03:25:29.187: 2/2= red: 20 green: 6 blue: 4 04-10 03:25:29.187: 3/2= red: 20 green: 6 blue: 3 04-10 03:25:29.187: 4/2= red: 49 green: 4 blue: 2 04-10 03:25:29.187: 5/2= red: 47 green: 2 blue: 1 04-10 03:25:29.187: 6/2= red: 16 green: 0 blue: 0 04-10 03:25:29.187: 7/2= red: 17 green: 0 blue: 0 04-10 03:25:29.187: 8/2= red: 51 green: 0 blue: 0 04-10 03:25:29.187: 9/2= red: 52 green: 1 blue: 0 04-10 03:25:29.187: 10/2= red: 21 green: 1 blue: 0 04-10 03:25:29.187: 11/2= red: 6 green: 2 blue: 0 04-10 03:25:29.187: 12/2= red: 6 green: 4 blue: 0 04-10 03:25:29.187: 13/2= red: 5 green: 5 blue: 1 04-10 03:25:29.187: 14/2= red: 2 green: 3 blue: 2 04-10 03:25:29.187: 15/2= red: 2 green: 3 blue: 2 04-10 03:25:29.187: 16/2= red: 6 green: 3 blue: 0 04-10 03:25:29.187: 17/2= red: 21 green: 3 blue: 3 04-10 03:25:29.187: 18/2= red: 48 green: 3 blue: 9 04-10 03:25:29.187: 19/2= red: 46 green: 3 blue: 10 04-10 03:25:29.187: 20/2= red: 15 green: 1 blue: 8 04-10 03:25:29.187: 21/2= red: 0 green: 1 blue: 5 04-10 03:25:29.187: 22/2= red: 0 green: 3 blue: 1 04-10 03:25:29.187: 23/2= red: 1 green: 3 blue: 1 04-10 03:25:29.187: 24/2= red: 1 green: 1 blue: 5 04-10 03:25:29.187: 25/2= red: 2 green: 1 blue: 6 04-10 03:25:29.187: 26/2= red: 3 green: 3 blue: 4 04-10 03:25:29.187: 27/2= red: 3 green: 3 blue: 2 04-10 03:25:29.187: 28/2= red: 2 green: 1 blue: 1 04-10 03:25:29.187: 29/2= red: 2 green: 0 blue: 0 04-10 03:25:29.187: 0/3= red: 1 green: 0 blue: 10 04-10 03:25:29.187: 1/3= red: 2 green: 2 blue: 8 04-10 03:25:29.187: 2/3= red: 4 green: 6 blue: 4 04-10 03:25:29.187: 3/3= red: 3 green: 7 blue: 1 04-10 03:25:29.187: 4/3= red: 1 green: 5 blue: 0 04-10 03:25:29.187: 5/3= red: 0 green: 3 blue: 0 04-10 03:25:29.187: 6/3= red: 0 green: 1 blue: 0 04-10 03:25:29.187: 7/3= red: 1 green: 0 blue: 0 04-10 03:25:29.187: 8/3= red: 3 green: 0 blue: 2 04-10 03:25:29.187: 9/3= red: 4 green: 0 blue: 3 04-10 03:25:29.187: 10/3= red: 5 green: 1 blue: 4 04-10 03:25:29.187: 11/3= red: 5 green: 3 blue: 4 04-10 03:25:29.187: 12/3= red: 5 green: 5 blue: 2 04-10 03:25:29.187: 13/3= red: 4 green: 5 blue: 2 04-10 03:25:29.187: 14/3= red: 2 green: 3 blue: 3 04-10 03:25:29.187: 15/3= red: 3 green: 3 blue: 2 04-10 03:25:29.187: 16/3= red: 5 green: 3 blue: 1 04-10 03:25:29.187: 17/3= red: 5 green: 2 blue: 5 04-10 03:25:29.187: 18/3= red: 3 green: 0 blue: 13 04-10 03:25:29.187: 19/3= red: 2 green: 0 blue: 15 04-10 03:25:29.187: 20/3= red: 2 green: 0 blue: 9 04-10 03:25:29.187: 21/3= red: 2 green: 0 blue: 5 04-10 03:25:29.187: 22/3= red: 0 green: 2 blue: 3 04-10 03:25:29.187: 23/3= red: 0 green: 2 blue: 3 04-10 03:25:29.187: 24/3= red: 0 green: 0 blue: 5 04-10 03:25:29.187: 25/3= red: 0 green: 1 blue: 6 04-10 03:25:29.187: 26/3= red: 1 green: 3 blue: 6 04-10 03:25:29.187: 27/3= red: 1 green: 3 blue: 4 04-10 03:25:29.187: 28/3= red: 0 green: 1 blue: 1 04-10 03:25:29.187: 29/3= red: 1 green: 1 blue: 0 04-10 03:25:29.187: 0/4= red: 3 green: 0 blue: 9 04-10 03:25:29.187: 1/4= red: 2 green: 1 blue: 7 04-10 03:25:29.187: 2/4= red: 2 green: 4 blue: 2 04-10 03:25:29.187: 3/4= red: 1 green: 5 blue: 0 04-10 03:25:29.187: 4/4= red: 0 green: 3 blue: 0 04-10 03:25:29.187: 5/4= red: 0 green: 2 blue: 0 04-10 03:25:29.191: 6/4= red: 1 green: 2 blue: 0 04-10 03:25:29.191: 7/4= red: 1 green: 2 blue: 2 04-10 03:25:29.191: 8/4= red: 1 green: 0 blue: 6 04-10 03:25:29.191: 9/4= red: 1 green: 1 blue: 10 04-10 03:25:29.191: 10/4= red: 1 green: 5 blue: 13 04-10 03:25:29.191: 11/4= red: 1 green: 6 blue: 12 04-10 03:25:29.191: 12/4= red: 1 green: 4 blue: 8 04-10 03:25:29.191: 13/4= red: 2 green: 3 blue: 5 04-10 03:25:29.191: 14/4= red: 4 green: 1 blue: 3 04-10 03:25:29.191: 15/4= red: 5 green: 1 blue: 2 04-10 03:25:29.191: 16/4= red: 3 green: 2 blue: 3 04-10 03:25:29.191: 17/4= red: 3 green: 2 blue: 8 04-10 03:25:29.191: 18/4= red: 6 green: 0 blue: 17 04-10 03:25:29.191: 19/4= red: 8 green: 0 blue: 17 04-10 03:25:29.191: 20/4= red: 8 green: 0 blue: 7 04-10 03:25:29.191: 21/4= red: 6 green: 0 blue: 3 04-10 03:25:29.191: 22/4= red: 2 green: 1 blue: 5 04-10 03:25:29.191: 23/4= red: 0 green: 1 blue: 5 04-10 03:25:29.191: 24/4= red: 0 green: 0 blue: 4 04-10 03:25:29.191: 25/4= red: 0 green: 0 blue: 4 04-10 03:25:29.191: 26/4= red: 0 green: 1 blue: 6 04-10 03:25:29.191: 27/4= red: 0 green: 1 blue: 6 04-10 03:25:29.191: 28/4= red: 0 green: 2 blue: 2 04-10 03:25:29.191: 29/4= red: 0 green: 3 blue: 0 04-10 03:25:29.191: 0/5= red: 3 green: 63 blue: 6 04-10 03:25:29.191: 1/5= red: 2 green: 48 blue: 5 04-10 03:25:29.191: 2/5= red: 0 green: 18 blue: 2 04-10 03:25:29.191: 3/5= red: 0 green: 19 blue: 0 04-10 03:25:29.191: 4/5= red: 0 green: 49 blue: 0 04-10 03:25:29.191: 5/5= red: 1 green: 49 blue: 0 04-10 03:25:29.191: 6/5= red: 3 green: 18 blue: 1 04-10 03:25:29.195: 7/5= red: 3 green: 18 blue: 3 04-10 03:25:29.199: 8/5= red: 1 green: 48 blue: 7 04-10 03:25:29.199: 9/5= red: 0 green: 48 blue: 10 04-10 03:25:29.199: 10/5= red: 2 green: 20 blue: 14 04-10 03:25:29.199: 11/5= red: 2 green: 6 blue: 13 04-10 03:25:29.199: 12/5= red: 0 green: 5 blue: 9 04-10 03:25:29.199: 13/5= red: 1 green: 4 blue: 5 04-10 03:25:29.199: 14/5= red: 4 green: 2 blue: 3 04-10 03:25:29.199: 15/5= red: 4 green: 1 blue: 2 04-10 03:25:29.199: 16/5= red: 1 green: 2 blue: 3 04-10 03:25:29.199: 17/5= red: 2 green: 17 blue: 7 04-10 03:25:29.199: 18/5= red: 8 green: 46 blue: 14 04-10 03:25:29.199: 19/5= red: 10 green: 45 blue: 13 04-10 03:25:29.199: 20/5= red: 9 green: 15 blue: 5 04-10 03:25:29.199: 21/5= red: 6 green: 0 blue: 2 04-10 03:25:29.199: 22/5= red: 2 green: 0 blue: 5 04-10 03:25:29.199: 23/5= red: 0 green: 1 blue: 5 04-10 03:25:29.199: 24/5= red: 0 green: 1 blue: 2 04-10 03:25:29.199: 25/5= red: 0 green: 1 blue: 2 04-10 03:25:29.199: 26/5= red: 0 green: 1 blue: 5 04-10 03:25:29.199: 27/5= red: 0 green: 1 blue: 5 04-10 03:25:29.199: 28/5= red: 0 green: 2 blue: 1 04-10 03:25:29.199: 29/5= red: 0 green: 3 blue: 0 04-10 03:25:29.199: 0/6= red: 1 green: 191 blue: 2 04-10 03:25:29.199: 1/6= red: 0 green: 143 blue: 2 04-10 03:25:29.199: 2/6= red: 0 green: 49 blue: 2 04-10 03:25:29.199: 3/6= red: 0 green: 49 blue: 1 04-10 03:25:29.199: 4/6= red: 0 green: 144 blue: 0 04-10 03:25:29.199: 5/6= red: 2 green: 143 blue: 0 04-10 03:25:29.199: 6/6= red: 6 green: 48 blue: 1 04-10 03:25:29.199: 7/6= red: 6 green: 48 blue: 2 04-10 03:25:29.199: 8/6= red: 2 green: 142 blue: 2 04-10 03:25:29.199: 9/6= red: 2 green: 142 blue: 4 04-10 03:25:29.199: 10/6= red: 6 green: 48 blue: 6 04-10 03:25:29.199: 11/6= red: 6 green: 4 blue: 6 04-10 03:25:29.199: 12/6= red: 2 green: 8 blue: 3 04-10 03:25:29.199: 13/6= red: 0 green: 8 blue: 2 04-10 03:25:29.199: 14/6= red: 1 green: 5 blue: 3 04-10 03:25:29.199: 15/6= red: 1 green: 3 blue: 2 04-10 03:25:29.199: 16/6= red: 1 green: 3 blue: 1 04-10 03:25:29.199: 17/6= red: 3 green: 48 blue: 2 04-10 03:25:29.199: 18/6= red: 7 green: 137 blue: 4 04-10 03:25:29.199: 19/6= red: 9 green: 136 blue: 5 04-10 03:25:29.199: 20/6= red: 6 green: 46 blue: 3 04-10 03:25:29.199: 21/6= red: 4 green: 1 blue: 2 04-10 03:25:29.199: 22/6= red: 1 green: 1 blue: 3 04-10 03:25:29.199: 23/6= red: 0 green: 2 blue: 2 04-10 03:25:29.199: 24/6= red: 0 green: 4 blue: 1 04-10 03:25:29.199: 25/6= red: 0 green: 5 blue: 0 04-10 03:25:29.199: 26/6= red: 0 green: 4 blue: 1 04-10 03:25:29.199: 27/6= red: 0 green: 4 blue: 1 04-10 03:25:29.199: 28/6= red: 0 green: 3 blue: 0 04-10 03:25:29.199: 29/6= red: 2 green: 3 blue: 0 04-10 03:25:29.199: 0/7= red: 0 green: 192 blue: 1 04-10 03:25:29.199: 1/7= red: 0 green: 144 blue: 2 04-10 03:25:29.199: 2/7= red: 2 green: 48 blue: 2 04-10 03:25:29.199: 3/7= red: 2 green: 48 blue: 2 04-10 03:25:29.199: 4/7= red: 1 green: 143 blue: 1 04-10 03:25:29.199: 5/7= red: 3 green: 143 blue: 1 04-10 03:25:29.199: 6/7= red: 6 green: 48 blue: 1 04-10 03:25:29.199: 7/7= red: 5 green: 47 blue: 1 04-10 03:25:29.199: 8/7= red: 2 green: 142 blue: 0 04-10 03:25:29.199: 9/7= red: 2 green: 142 blue: 0 04-10 03:25:29.203: 10/7= red: 6 green: 48 blue: 2 04-10 03:25:29.203: 11/7= red: 7 green: 3 blue: 2 04-10 03:25:29.203: 12/7= red: 5 green: 7 blue: 0 04-10 03:25:29.203: 13/7= red: 4 green: 8 blue: 0 04-10 03:25:29.203: 14/7= red: 3 green: 5 blue: 2 04-10 03:25:29.203: 15/7= red: 2 green: 3 blue: 2 04-10 03:25:29.203: 16/7= red: 1 green: 3 blue: 0 04-10 03:25:29.203: 17/7= red: 2 green: 48 blue: 0 04-10 03:25:29.203: 18/7= red: 5 green: 139 blue: 0 04-10 03:25:29.203: 19/7= red: 6 green: 138 blue: 1 04-10 03:25:29.203: 20/7= red: 4 green: 47 blue: 2 04-10 03:25:29.203: 21/7= red: 2 green: 1 blue: 2 04-10 03:25:29.203: 22/7= red: 0 green: 1 blue: 4 04-10 03:25:29.203: 23/7= red: 0 green: 2 blue: 3 04-10 03:25:29.203: 24/7= red: 0 green: 5 blue: 1 04-10 03:25:29.203: 25/7= red: 0 green: 6 blue: 0 04-10 03:25:29.203: 26/7= red: 0 green: 5 blue: 0 04-10 03:25:29.203: 27/7= red: 0 green: 4 blue: 0 04-10 03:25:29.203: 28/7= red: 0 green: 3 blue: 0 04-10 03:25:29.203: 29/7= red: 2 green: 2 blue: 0 04-10 03:25:29.203: 0/8= red: 0 green: 67 blue: 5 04-10 03:25:29.203: 1/8= red: 1 green: 50 blue: 4 04-10 03:25:29.203: 2/8= red: 5 green: 17 blue: 3 04-10 03:25:29.203: 3/8= red: 6 green: 16 blue: 3 04-10 03:25:29.203: 4/8= red: 5 green: 47 blue: 3 04-10 03:25:29.203: 5/8= red: 4 green: 48 blue: 2 04-10 03:25:29.203: 6/8= red: 3 green: 17 blue: 1 04-10 03:25:29.203: 7/8= red: 1 green: 17 blue: 0 04-10 03:25:29.203: 8/8= red: 0 green: 48 blue: 0 04-10 03:25:29.203: 9/8= red: 0 green: 48 blue: 0 04-10 03:25:29.203: 10/8= red: 2 green: 19 blue: 0 04-10 03:25:29.203: 11/8= red: 5 green: 4 blue: 0 04-10 03:25:29.203: 12/8= red: 10 green: 3 blue: 0 04-10 03:25:29.203: 13/8= red: 12 green: 2 blue: 0 04-10 03:25:29.203: 14/8= red: 11 green: 1 blue: 0 04-10 03:25:29.203: 15/8= red: 7 green: 1 blue: 0 04-10 03:25:29.203: 16/8= red: 2 green: 2 blue: 0 04-10 03:25:29.203: 17/8= red: 0 green: 19 blue: 0 04-10 03:25:29.203: 18/8= red: 1 green: 52 blue: 2 04-10 03:25:29.203: 19/8= red: 2 green: 52 blue: 3 04-10 03:25:29.203: 20/8= red: 1 green: 18 blue: 1 04-10 03:25:29.203: 21/8= red: 0 green: 1 blue: 3 04-10 03:25:29.203: 22/8= red: 0 green: 0 blue: 8 04-10 03:25:29.203: 23/8= red: 0 green: 1 blue: 8 04-10 03:25:29.203: 24/8= red: 0 green: 4 blue: 2 04-10 03:25:29.203: 25/8= red: 0 green: 4 blue: 0 04-10 03:25:29.203: 26/8= red: 0 green: 2 blue: 2 04-10 03:25:29.203: 27/8= red: 0 green: 1 blue: 2 04-10 03:25:29.203: 28/8= red: 0 green: 2 blue: 0 04-10 03:25:29.203: 29/8= red: 1 green: 2 blue: 0 04-10 03:25:29.203: 0/9= red: 0 green: 4 blue: 5 04-10 03:25:29.203: 1/9= red: 1 green: 3 blue: 4 04-10 03:25:29.203: 2/9= red: 5 green: 1 blue: 3 04-10 03:25:29.203: 3/9= red: 6 green: 0 blue: 2 04-10 03:25:29.203: 4/9= red: 6 green: 0 blue: 2 04-10 03:25:29.207: 5/9= red: 4 green: 0 blue: 2 04-10 03:25:29.207: 6/9= red: 1 green: 1 blue: 0 04-10 03:25:29.207: 7/9= red: 0 green: 2 blue: 0 04-10 03:25:29.207: 8/9= red: 0 green: 2 blue: 2 04-10 03:25:29.207: 9/9= red: 0 green: 3 blue: 2 04-10 03:25:29.207: 10/9= red: 0 green: 4 blue: 0 04-10 03:25:29.207: 11/9= red: 3 green: 4 blue: 0 04-10 03:25:29.207: 12/9= red: 9 green: 1 blue: 1 04-10 03:25:29.207: 13/9= red: 12 green: 0 blue: 1 04-10 03:25:29.207: 14/9= red: 11 green: 1 blue: 0 04-10 03:25:29.207: 15/9= red: 7 green: 1 blue: 0 04-10 03:25:29.207: 16/9= red: 2 green: 1 blue: 0 04-10 03:25:29.207: 17/9= red: 0 green: 3 blue: 1 04-10 03:25:29.207: 18/9= red: 1 green: 7 blue: 2 04-10 03:25:29.207: 19/9= red: 1 green: 8 blue: 2 04-10 03:25:29.207: 20/9= red: 0 green: 4 blue: 0 04-10 03:25:29.207: 21/9= red: 0 green: 1 blue: 2 04-10 03:25:29.207: 22/9= red: 1 green: 0 blue: 7 04-10 03:25:29.207: 23/9= red: 1 green: 1 blue: 7 04-10 03:25:29.207: 24/9= red: 0 green: 3 blue: 2 04-10 03:25:29.207: 25/9= red: 0 green: 3 blue: 1 04-10 03:25:29.207: 26/9= red: 0 green: 1 blue: 3 04-10 03:25:29.207: 27/9= red: 0 green: 0 blue: 3 04-10 03:25:29.207: 28/9= red: 0 green: 2 blue: 1 04-10 03:25:29.207: 29/9= red: 1 green: 2 blue: 0 04-10 03:25:29.207: 0/10= red: 0 green: 4 blue: 1 04-10 03:25:29.207: 1/10= red: 0 green: 3 blue: 1 04-10 03:25:29.207: 2/10= red: 1 green: 2 blue: 1 04-10 03:25:29.207: 3/10= red: 3 green: 1 blue: 0 04-10 03:25:29.207: 4/10= red: 6 green: 0 blue: 0 04-10 03:25:29.207: 5/10= red: 5 green: 1 blue: 0 04-10 03:25:29.207: 6/10= red: 1 green: 2 blue: 0 04-10 03:25:29.207: 7/10= red: 0 green: 4 blue: 2 04-10 03:25:29.207: 8/10= red: 2 green: 6 blue: 7 04-10 03:25:29.207: 9/10= red: 2 green: 6 blue: 7 04-10 03:25:29.207: 10/10= red: 0 green: 5 blue: 2 04-10 03:25:29.207: 11/10= red: 1 green: 3 blue: 1 04-10 03:25:29.207: 12/10= red: 3 green: 2 blue: 3 04-10 03:25:29.207: 13/10= red: 4 green: 2 blue: 3 04-10 03:25:29.207: 14/10= red: 3 green: 3 blue: 1 04-10 03:25:29.207: 15/10= red: 2 green: 3 blue: 0 04-10 03:25:29.211: 16/10= red: 0 green: 1 blue: 1 04-10 03:25:29.211: 17/10= red: 1 green: 1 blue: 1 04-10 03:25:29.211: 18/10= red: 5 green: 4 blue: 1 04-10 03:25:29.211: 19/10= red: 5 green: 5 blue: 0 04-10 03:25:29.211: 20/10= red: 1 green: 3 blue: 0 04-10 03:25:29.211: 21/10= red: 0 green: 2 blue: 0 04-10 03:25:29.211: 22/10= red: 1 green: 0 blue: 2 04-10 03:25:29.211: 23/10= red: 1 green: 0 blue: 2 04-10 03:25:29.211: 24/10= red: 0 green: 1 blue: 0 04-10 03:25:29.211: 25/10= red: 0 green: 1 blue: 0 04-10 03:25:29.211: 26/10= red: 0 green: 1 blue: 2 04-10 03:25:29.211: 27/10= red: 1 green: 1 blue: 2 04-10 03:25:29.211: 28/10= red: 2 green: 3 blue: 1 04-10 03:25:29.211: 29/10= red: 2 green: 3 blue: 1
i tried saving in 8bitjpeg... , 16bitjpeg... values getting wrong. can please me, , explain me why happening?
for example 4throw, 1st pixel(ie 0,3) green= 0,255,0.
but log says "0/3= red: 1 green: 0 blue: 10"
i managed crack main puzzling part in problem.
the saving of jpeg via different compression methods changes rgb content of had set pixels to. hence safer lossless format .png
a full zoom in on image in ps shows many small grids. though says 30x11.. double. means double in length , double in width. real image made in pixels 60x22. saw on grid (0,3)green, 4 pixels on real image @ (0,6) (0,7) (1,6) (1,7)