BMP C library to open and save image
By Joseph Russell •
Can anyone recommend me a C library for loading and saving .bmp images. I need to load the image, edit some bits, and then save it. I have found the DevIl library, but I can't find the way to use it in Ubuntu.
I'm a beginner so I would appreciate instructions on the whole process from downloading the library, using it in my code for loading and saving, to compiling.
1 Answer
You can use libgraphicsmagick in C, download the library and the header using apt-get:
sudo apt-get install libgraphicsmagick1-devNow you have the headers installed, you should be able to use the library in your C code:
#include <magick/api.h>Please see the API documentation for further programming examples and help:
0More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"