Dave Irvine

Adventures in VB.NET

For my sins I mess around in VB.NET every now and then, usually doing things VB doesn't really want to do.
I collect anything I think might be useful in the future here. I also include anything I've found from heavy googling, as well as anything I had to dig up from archive.org in cases where the original was missing.

Convert RGB Bitmap to 1bpp monochrome

http://www.bobpowell.net/onebit.htm has a great listing for this, don't forget to click the VB button near
the top of the page to get the VB listing if you are seeing C# code!

FreeImage VB.NET Wrapper

Turns out you don't actually need one! With all the talk about a C# wrapper I assumed you would need a VB.NET one as well. Apparently not. Add the FreeImageNET.dll as a reference and make sure you have FreeImage.dll in your path, and everything will be good!