Screenshot API for Ruby on Rails: Screenshots and PDFs Without wkhtmltopdf

ruby dev.to

Screenshot API for Ruby on Rails: Screenshots and PDFs Without wkhtmltopdf Generating PDFs and screenshots in Rails is one of those problems that looks simple until you actually try to deploy it. wkhtmltopdf requires a system binary. WickedPDF wraps wkhtmltopdf and adds a Rails DSL on top, but you're still shipping a binary in Docker and fighting with font paths in production. Prawn gives you programmatic PDFs, but it's a layout engine — you write Ruby to position every line of text,

Read Full Tutorial open_in_new
arrow_back Back to Tutorials