Giter VIP home page Giter VIP logo

bitmap-editor's Introduction

Introduction.

The Library for Image Processing written in C++.
There is not any of OpenGL functions or something like that. All functions have been written from scratch. This library is to process bitmap images.
More detailed information(including manual)

Availabilities and options.

Fundamentally there are couple of functionalities which the library contains.

  • Drawing pixels between 2 given positions without any gaps.
  • Storing bitmap image in a significant way.
  • Handling any unwanted situations efficiently.

With using the shown functions any shape can be drew. However, there can be some figures which may possibly take significantly long time to draw. Besides, there is a function to draw a string in the image.

Error handling.

There are several error types used to detect and handle unwanted situations during the processing. Here is the error table:

Error Description Affect on the program flow
Default Any other type of error Undefined

A simple example program.

#include<iostream>
#include"bmp.hpp"

using namespace std;

int main(int argv, char** argv){

    BMP image;

    try{
        image=BMP::blank(720, 720, COLOR::White);
        image.draw(Position2D(150, 150), Position2D(570, 570));
        image.draw(Position2D(150, 570), Position2D(570, 150));
        image.save("processed.bmp");
    } catch(const Exception& exception){
        cout<<exception.what()<<'\n';
    }

    return 0;
}

bitmap-editor's People

Contributors

alikhudiyev avatar

Stargazers

Imran Ibrahimli avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.