Micro View
“Micro_View” is a product I created several years ago for a client. It’s a simple imaging library for Win32 and WinCE which allows you to load BMP, GIF and JPEG images into a HBITMAP or it can display them in a window. The code is fast and small (the Win32 lib file is 96K). I created a stand-alone command-line driven executable which displays an image in a borderless window and a link library which has 3 functions defined:
int APIENTRY MicroView(TCHAR *filename, int iOptions);
int APIENTRY MVLoadBitmap(TCHAR *filename, HBITMAP *, HPALETTE *);
int APIENTRY MVLoadResource(HINSTANCE hInst, TCHAR *rname, HBITMAP *pBitmap, HPALETTE *pPalette);
If you need to add simple image handling to your application, it doesn’t get much easier than this. This is something that’s been collecting dust on my harddrive for quite a while, but would probably make a pretty good retail product. I will see if I can package this up into a reasonably priced product in the next few days. Please email me (bitbank@pobox.com) if you’re in need of such a library.