Nimo s skrev 2011-01-27 09:03:
Hello..!
In a Image instead of getting RGB values, how to get the exact pixel values?
I mean in an 24bit image we will have 16581375 colors.
You mean 16777216 colors?
I wanna extract each pixel values in range of 0 - 16581375 instead of individual
R,G& B values..
Uhm.. Why?
Anyway, if your image is PIX_FMT_RGB24 then you simply take every byte
triplet and stuff them in an int array or something. You shouldn't have
to though, since that's basically pointless copying.
/Tomas
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user