27 Sep '12, 2pm

Thumbnailing PDFs with MiniMagick by @MikeG1 ( a coding LEGEND in case you didnt know

Thumbnailing PDFs with MiniMagick Thursday, September 27, 2012 at 7:36AM Maybe this was already out there somewhere, but my search fu failed. So, for the benefit of anyone else using MiniMagick instead of RMagick and needing thumbnails of PDF files: image=MiniMagick::Image.open("some.pdf") image.format("png", 1) image.resize("200x200") image.write("some_thumbnail.png") Or in CarrierWave: class PdfAssetUploader

Full article: http://afreshcup.com/home/2012/9/27/thumbnailing-pdfs-wit...

Tweets