Added canvas class.
Optimized Image print