Message board for the users of flat assembler.
> Windows > Icon format
Enko 27 Oct 2007, 19:27
Hello, I have a little problem with the *.ico format.
I read in the MSDN about this format but it doesn't explain well how dos the "AND" and "XOR" mask works. I now that its used to make the transparent aea , but don't now how.
Do you have a good link with the explanation. (couldn't find nothing in google) or now how does it work?
|27 Oct 2007, 19:27||
bitRAKE 28 Oct 2007, 00:31
second link on google:
AND clears, while XOR only changes the bits that are set in the icon.
010101011111 <--- pretent screen
111000001011 <--- AND mask
010000001011 <--- intermediate result
000110010100 <--- XOR mask
010110011111 <--- final result
result = XOR(xmask,AND(amask,screen))
|28 Oct 2007, 00:31||
< Last Thread | Next Thread >
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.