Luigi Posted November 17, 2014 Posted November 17, 2014 Hi forum, I have some pic like this: This png image with transparency and I need obtan an array with same dimensions of imagen, and if array[x,y] is alpha full, the value is 0, else have any kind of color, the value of array[x,y] is 1. like this 00000000 01111110 01000010 01000010 00100100 00100100 00111100 00000000 Someone can suggest an example or function like this? Thansk, Detefon Visit my repository
UEZ Posted November 17, 2014 Posted November 17, 2014 You can use GDI+ functions to read out the pixel color information -> _GDIPlus_BitmapGetPixel or using _GDIPlus_BitmapLockBits / _GDIPlus_BitmapUnlockBits.Br,UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now