26

Screen Grab - Turn your React component into an image | Product Hunt

 1 year ago
source link: https://www.producthunt.com/posts/screen-grab
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Support is great. Feedback is even better.

"We would love some feedback. Try out the demo at https://screengrab.cloud/en/demo/. Link is also in the website. (PH isn't recognizing the demo link?). Also check out https://memezoo.app/ to see it in action."

The makers of Screen Grab
Sort by:

We (MemeZoo.app) developed a meme creation site with social media sharing of meme images. We needed a way to share meme images which had text caption overlays, likes and avatars.

We first tried to draw this onto a canvas object and exporting this to PNG. This was difficult.

We then tried a few libraries and decided on html2canvas. This worked well but was not consistent with the actual HTML rendering, especially with text and image sizes, position. It was also dependent on the users device.

We soon realized we needed consistent image captures. We decided to try an automated server approach.

Three days later we had a microservice that captured screenshots of the meme component when the user clicked share.

We tested this approach on graphs, social media content, data tables, complex UI and the results were consistent screenshots.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK