Search found 1 match

by treybean
2012-06-24T07:38:27-07:00
Forum: Users
Topic: Converting PDF to PNG with transparent background
Replies: 1
Views: 8368

Converting PDF to PNG with transparent background

We have a Ruby on Rails application that needs to convert a PDF into a PNG with a transparent background. We're using rmagick 2.13.1. On our development machines the following code works exactly how we want it. pages = Magick::Image.from_blob(book.to_pdf.render){ self.density = 300 } page = pages[0 ...