Generates data-uri png by different ways: text on canvas, raw PNG etc.