Pelles C forum

C language => Windows questions => Topic started by: halsten on May 06, 2008, 01:57:04 PM

Title: How to load/manipulate an image?
Post by: halsten on May 06, 2008, 01:57:04 PM
Assume I have an image in my resource file, how do I load and manipulate it in my form? An example would do well. Thanks in advance.
Title: Re: How to load/manipulate an image?
Post by: Vortex on May 06, 2008, 07:11:47 PM
theForger's Win32 API Programming Tutorial : Bitmaps, Device Contexts and BitBlt (http://www.winprog.org/tutorial/bitmaps.html)
Title: Re: How to load/manipulate an image?
Post by: halsten on May 06, 2008, 11:57:35 PM
Thanks, but I was looking for a way to manipulate the picture itself. By manipulation I mean "Image Processing", sorry for the lack of clarity. Such examples include contrast stretching, gray scale, filtering etc... Any ideas about that? Thanks in advance.
Title: Re: How to load/manipulate an image?
Post by: DMac on May 07, 2008, 05:08:14 PM
I have used the FreeImage libraries, easy to use and many powerful features.
http://freeimage.sourceforge.net/ (http://freeimage.sourceforge.net/)