Programs like convert are console programs. You might want to examine the ImageMagick source package. The list of required libraries ( perhaps libjpeg ) may provide an answer.
Or simply use the ldd command to find which shared libraries that the convert program uses. Since the program converts between different types of graphics images, the internal representation of the image may be similar to what you are using. So the source code may provide answers.
Also, check the ImageMagick homepage. They have a C++
Magick++ library. Also, the license is a free license, so you may not have any restrictions on the use of the library or its code. Of course read their license thoroughly through first.
Last edited by jschiwal; 05-05-2005 at 06:05 PM.
|