Giter VIP home page Giter VIP logo

imageeditor's Introduction

Image Editor

A simple PPM-format image editor.

##Introduction## This is a rudimentary image editor that can handle 4 transformations on a PPM image.

###Transformations###

  • Invert Colors
  • Convert to Grayscale
  • Generate an "embossed" image
  • Add a "motion blur" effect

##The Portable PixelMap (PPM) File Format## PPM files were chosen for their simplicity.

The format of a PPM is as follows:

  • Each PPM file begins with a "P3"
  • Whitespace
  • A width, formatted as ASCII characters in decimal
  • Whitespace
  • A height, formatted as ASCII characters in decimal
  • Whitespace
  • Maximum color value. (255 for our files)
  • Whitespace
  • Sets of 3 numbers from 0-255, each representing an RGB color value, the first representing the red value, the second representing the green value, and the third representing the blue value. Each color value is separated by whitespace. A set of 3 color values represents a pixel.

##Usage##

java ImageEditor in-file out-file (grayscale|invert|emboss|motionblur motion-blur-length)

imageeditor's People

Contributors

travischambers avatar

Watchers

 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.