compressing it to png and then drawing works!