Skip to content

Commit a667826

Browse files
authored
Create README.md
1 parent 7fa9b2e commit a667826

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Python-Bitmap
2+
A dependency free library to read bitmap images.
3+
4+
Example usage:
5+
6+
from PythonBitmap import Image
7+
8+
with open('test.bmp') as file:
9+
a = Image(file.read())
10+
11+
print('Width: ', a.getBitmapWidth()) # Return width of image in pixels
12+
print('Height: ', a.getBitmapHeight()) # Return height of image in pixles
13+
14+
print('Data:\n\n', a.getPixels())
15+
16+

0 commit comments

Comments
 (0)