Skip to content

shomerj/python-bitmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Pure Python bitmap decoder/encoder

This is just a little bitmap encoder/decoder I wrote to get a better understanding of the bitmap file format.

This is pretty inefficient but gets the job done. It can read and write bitmap files.

Current functionality:

  • Read images
  • Write images
  • Convert to grayscale
  • Center crop

Examples

import bmp
bitmap = bmp.BitmapReader('frame.bmp')
bitmap.grayscale()
bitmap.write('frame_gray.bmp')

Testing update

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages