pdftoimage
pdftoimage copied to clipboard
A ruby gem for converting pdfs to images.
Hi, There is an issue with iconv after the latest osx upgrades on M1/M2 macs, the Iconv errors and the solution is to install iconv separately with command `gem install...
Hi, Thanks for creating this gem! Question I have: Is it possible to use a remote url instead of local path? ``` images = PDFToImage.open("https://www.orimi.com/pdf-test.pdf") # currently the above line...
On rare occassions, I've encountered `PDFToImage::PDFError: Error determining page count.`. Working off of what's found on this line, https://github.com/robflynn/pdftoimage/blob/master/lib/pdftoimage.rb#L95, you can see for this particular document `pdfinfo` does in fact...
``` ~/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/specification.rb:2317:in `raise_if_conflicts': Unable to activate pdftoimage-0.2.0, because shellwords-0.2.0 conflicts with shellwords (~> 0.1.0) (Gem::ConflictError) ``` I see that this is already fixed in https://github.com/robflynn/pdftoimage/commit/3accb591b75668645fb0a051b58fa2a1d9f84752, but with a fresh gem...
I've added the support of cropping areas that is useful when you want to crop exact area from pdf file
This works fine: ```ruby images = PDFToImage.open('somefile.pdf') ``` But how can I init it with an inline PDF content? Without having a file? I'm working in a cloud environment and...
_WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"_ https://github.com/minimagick/minimagick/issues/560 Maybe it is worth to use minimagick directly, so you don't have to...