A library with basic image processing functionality.
Types of files that can be processed:
- PNG
- BMP
- libpng
- zlib
git clone https://github.com/KirillMaltsev3341/ImageEditor.git
cd ImageEditor
make install_required_soft
makeTo install required software by yourself visit:
git clone https://github.com/KirillMaltsev3341/ImageEditor.git
cd ImageEditor
makeThe shared library will be located in the lib folder and will have the name libImageEditor.so
make test#include "ImageEditor.h"
int main()
{
ie::ImagePNG image;
image.setSize(400, 400);
image.drawCircle(200, 200, 120, 8, {255, 0, 0, 255}, true, {0, 0, 255, 255});
image.drawPolygon(
{
{118, 120},
{282, 120},
{200, 314}
}, 2, {255, 255, 255, 255}, true, {0, 255, 0, 255}
);
image.writeImageToFile("result.png");
}g++ main.cpp -I{...}/ImageEditor/include -Wl,-rpath={...}/ImageEditor/lib -L{...}/ImageEditor/lib -lImageEditor
