1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/lib/active_storage/previewer
Vincent Robert 3803671a81 Generate a preview without print margins
When a PDF is used for both printing and displaying. It will most likely
contain a crop box in order to hide print margins when displaying the PDF.

Use Poppler's parameter to automatically use the crop box (visible box)
rather than the media box (printable box) in order to remove those margins
when drawing the PDF.

See https://manpages.debian.org/testing/poppler-utils/pdftoppm.1.en.html
2020-09-17 11:59:45 -04:00
..
mupdf_previewer.rb Store previews in the same service as the original blob 2019-12-20 15:06:03 -05:00
poppler_pdf_previewer.rb Generate a preview without print margins 2020-09-17 11:59:45 -04:00
video_previewer.rb Verify FFmpeg presence before attempting to preview videos 2020-04-27 08:51:34 -04:00