2d canvas text to image data for DT