10.02.2013, 14:48
I'm not talking about sa-mp, I'm talking about reading image's pixel's color in pawn. It doesn't matter, pawn or c++(without any libraries), they all have function to read file, like fread in pawn.
Let's say I have image file and I want to get pixel's which is at x=50, y=60(coords doesn't matter, it's just a example) color. Only get that pixel's color in variable, nothing else. Reading methods may be different in different image formats, but one example would be enough for me.
Let's say I have image file and I want to get pixel's which is at x=50, y=60(coords doesn't matter, it's just a example) color. Only get that pixel's color in variable, nothing else. Reading methods may be different in different image formats, but one example would be enough for me.