9

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.

Vertexwahn
  • 7,709
  • 6
  • 64
  • 90
lurks
  • 2,576
  • 4
  • 30
  • 39

7 Answers7

7

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

Huppie
  • 11,263
  • 4
  • 32
  • 34
2

@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
  • 114,398
  • 98
  • 311
  • 431
1

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

Max Lybbert
  • 19,717
  • 4
  • 46
  • 69
0

Have you considered GDI?

-- Kevin Fairchild

Kevin Fairchild
  • 10,891
  • 6
  • 33
  • 52
0

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

Jim Buck
  • 20,482
  • 11
  • 57
  • 74
0

I like VXL.

VXL (the Vision-something-Libraries) is a collection of C++ libraries designed for computer vision research and implementation. It was created from TargetJr and the IUE with the aim of making a light, fast and consistent system. VXL is written in ANSI/ISO C++ and is designed to be portable over many platforms.

Moe
  • 28,607
  • 10
  • 51
  • 67
0

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