DEV Community

rabbitzzc
rabbitzzc

Posted on

How to convert image/ Canvas to Table?

Recently, I was making a requirement that the back end return a bunch of data, and I needed dynamic auto-merge, which was very complicated, so I chose to use div to dynamically present the table instead of using the native table element.
However, I needed to send the table as the content of the email, and sending screenshots was not friendly, so I came up with the idea of converting the picture to the table.

Is there a good solution?

  • Able to merge automatically
  • Able to recognize text (Chinese and English)

Top comments (0)