kpeterson
December 5th, 2005, 03:11 PM
Hi,
I'm attempting to write my first image-loading c++ program for a school project, but not having much luck. The program needs to load an image, swap a few pixels, and display it. Can someone give me some tips or point me to a tutorial?
Thanks
Mike Harnad
December 5th, 2005, 03:30 PM
Have you looked at the Bitmaps & Palettes (http://www.codeguru.com/Cpp/G-M/bitmap/) section on CodeGuru? Lots of resources there.
golanshahar
December 5th, 2005, 04:01 PM
Hi,
I'm attempting to write my first image-loading c++ program for a school project, but not having much luck. The program needs to load an image, swap a few pixels, and display it. Can someone give me some tips or point me to a tutorial?
Thanks
if you using windows enviroment you can look at this threads, it will give you some good start:
LoadImage() (http://www.codeguru.com/forum/showthread.php?t=354024)
getting all pixels in a bitmap (http://www.codeguru.com/forum/showthread.php?t=359088)
Changing colors on a bitmap (http://www.codeguru.com/forum/showthread.php?t=348023)
Cheers
Marc G
December 6th, 2005, 03:20 AM
[ moved thread ]