Re: Win32Lib & Bitmaps or maybe GIF's
- Posted by Brian Broker <bkb at CNW.COM> Jan 18, 2001
- 532 views
On Thu, 18 Jan 2001 18:46:33 -0600, Kat wrote: >Wow, way great! >Is it possible to do comparisons of pics, say for instance, read regions >of a gif to do pattern comparisons? So if one gif is a pic of a plate, and >a plate is occupying most of another pic, can Eu (your lib) be used to say >there is a plate in the second pic? > >Kat No, nothing that fancy. So far I've wrapped functions that will read the files... and another function will create a DIB that can be displayed using Win32Lib's 'drawBitmap' function. Unfortunately, the lib doesn't support GIF's (Unisys copyright?), however, I've previously done some work with the GIF library in the RDS archives so I could easily incorporate it into the lib. But functions will be provided which allow you to directly access the image palette and bits so you could conceivably expand on the functionality... Various color reduction and image effects will also be included. In case anybody is wondering, the library I'm wrapping up is FreeImage. http://home.wxs.nl/~flvdberg/ This is an easy to use, high level library, but I was only looking for a general purpose image decoder for use in our Win32Lib programs (especially support for JPEG and PNG). That and I wanted something that would be easy to wrap (which it is... 8^) -- Brian