more failed attempts

tried to modify canvas2image library