Okay I'm loading a GIF or PNG with
Dim Img1 as Image = Image.FromFile(FileName$)
Then, according to msdn, I should be able to retrieve the transparency index by doing the following:
TransparencyIndex = Img1.GetPropertyItem(&h5104).Value(0)
&h5104 corresponds to the property item for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.