views:

787

answers:

7

Do you know any open source/free software C++ libraries to manipulate images in these formats: .jpg .gif .png .bmp ? The more formats it supports, the better. I am implementing a free program in C++ which hides a text file into one or more images, using steganography.

I am working under Unix.

Thanks for any help in advance

A: 

Have you considered GDI?

-- Kevin Fairchild

Kevin Fairchild
A: 

FreeImage is pretty solid. It has a C interface but is more C++-like in its implementation.

Jim Buck
+6  A: 

ImageMagick can manipulate about anything and has interfaces for a dozen of languages, including the Magick++ API for C++.

Huppie
A: 

I like vxl

Moe
+2  A: 

@lurks: I assume that you are looking for LSB shifting? I did some stego work a couple of years ago, and that's how it appeared most apps worked. It appears that ImageMagick (suggested by others) allows you to identify and manipulate the LSBs.

Thomas Owens
+1  A: 

It takes some setting up, but I'm a fan of Adobe's GIL (now part of Boost).

Max Lybbert
A: 

For .png images you could look into Cairo (and CairoMM). There's also Anti-Grain which people consider very fast.