Tuesday, November 16, 2010

How do I edit images using c++?

I need to be able to have c++ look at a certain pixel, and tell me what color it is. It also has to be able to change that pixel's color. It would be best if it could give me the pixel's coordinents too.How do I edit images using c++?
You should use a graphics library for that, editing bitmaps is a pain because there are so many different pixel formats and versions.

Simple DirectMedia Layer (libSDL) is the weapon of choice when it comes to dealing with 2d images, I haven't used it myself though because I use Irrlicht (a 3d graphics engine)

No comments:

Post a Comment