Code Monkey home page Code Monkey logo

bitmap-transformer's Introduction

Bitmap-Transformer

Building a bitmap (.bmp) transformer CLI. It will read a bitmap in from disk, run one or more color or raster transforms and then write it out to a new file.

Example Strategy

  1. Gather user input (infile, outfile, and transform)
  2. Read the input bitmap file using the fs module
  3. Parse the bitmap’s buffer into object representing a bitmap (using a constructor)
  4. Using metadata from the parsed bitmap object run a transform on the buffer directly (mutate the color or raster data)
  5. Write the mutated buffer to the output file path

Author

Liz Mahoney John Winters

Version

1.0.0

Getting Started

  1. In the terminal, create a folder in your local drive by runningmkdir bitmap-transformer, then cd into that directory.
  2. Clone this repo git clone https://github.com/emd5/bitmap-transformer.git.
  3. Open with IntelliJ: idea ., make sure JDK is installed.
  4. To run application: ./gradlew run --args 'input output transform'

bitmap-transformer's People

Contributors

emd5 avatar thatsjustjohn avatar

Watchers

James Cloos avatar  avatar  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.