Problem with GetPixel

denik

Member
Licensed User
Longtime User
Dear Sirs
I need to read the color characteristics of the image. In particular, the image format, PNG24, all pixels that have color RGB (83, 99.29), however, when reading using the GetPixel, I get that the original image has two different colors - (82, 97, 24) and (82, 101, 33), both using the emulator, and in the Iconia Tab A501. The same pattern is observed in the analysis of the same image in different formats (bmp, jpeg etc.) In other words, it appears that the method GetPixel does not correctly read the colors.
The theme is attached a small application that demonstrate this fact.
Maybe someone faced with this effect and found his explanation?
thanks in advance
 

Attachments

  • WithPng24.zip
    7 KB · Views: 208

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top