Refactor
Merge pull request #4 from benoitguigal/refactor

Rename packages, modules and classes 
ESC and GS constants 
add print_image() function 
add system exit on testpage script
traverse pixels array only once, remove BitmapData class
convert PIL pixels to python list
Merge pull request #5 from benoitguigal/performance

Performance
bump to version 1.2
expose method marshallpixels
bump to version 1.3
bugfix in image resize
bugfix in test page arg parsing
pythonic comments
Merge pull request #7 from rbaier/bugfixtestpage

bugfix in test page arg parsing
Merge pull request #6 from rbaier/bugfiximgresize

bugfix in image resize
Merge pull request #8 from rbaier/pythonic

pythonic comments
top level variables and functions. Decorator function to write bytes to the wire