Skip to content

giodamelio/bitmap_transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitmap transformer

Build Status codecov npm version npm downloads

This is a basic bitmap parser and transformer.

Instructions

# Install with npm
npm install --global bitmap_transformer

# Run command line
# bitmap_transformer <transform type> <input bitmap> <output bitmap>
# Transformation types
#    black
#    mirror
#    grey-scale
#    red-scale
#    invert

# Example
bitmap_transformer black ./img/non-palette-bitmap.bmp ./img/transformed-img/black.bmp

# Run tests
gulp test

# Run code coverage tests
npm run coverage

# Run lint
gulp lint

# Watch both the tests and the linter
gulp watch

Bonus points

  • Create a command line interface
  • Can handle any sized bitmap
  • Handle both endianess (not quite sure if this works completely, kind of hard to test)
  • Command line can select transform type
  • Make project installable with npm

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors