DEV Community

rabbitzzc
rabbitzzc

Posted on

2

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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay