Git Product home page Git Product logo

cpp-image-generation's Introduction

cpp-image-generation

Programs to make bmp image files using c++

Usage

download (online) https://github.com/XDwightsBeetsX/cpp-image-generation
download (git) git clone https://github.com/XDwightsBeetsX/cpp-image-generation
make all Compiles the object files and generates an executable
make run Runs the program, generating the BMP image
make clean Removes unneeded object files
make wipe Removes all generated files (including .exe)

Distributions of Make can be found at sourceforge or through MinGW

Code can also be compiled and run manually with g++ compilers

Credit

Images

Gradient

gradient

blended

Squares

white white
squares noisy

cpp-image-generation's People

Contributors

xdwightsbeetsx avatar

cpp-image-generation's Issues

Importing .bmp Files

Currently

  • Files can only be generated via operations methods.
  • The data for these files can be manipulated with more operations methods.

Desired

  • Ability to import data from imports/input.bmp into the vector<vector<vector<int>>>
    • start exporting data to exports/output.bmp ๐Ÿ“

Create Pixel Color class

Currently ๐Ÿ”ด ๐ŸŸข ๐Ÿ”ต

Color setting is done manually along the lines of:

Data[row][col][0] = b;

Desired ๐Ÿ“œ

  • Create a Color.h class ๐ŸŽจ

    class Color {
    int R;
    int G;
    int B;
    
    Color();
    Color(int r, int g, int b);
    }
  • Allow Image.h to use Color.h

    • setPixel(Color c);

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.