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
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
..
analyzer Fall back to video container for duration 2020-08-31 08:48:06 -04:00
attached Identify directly-uploaded blobs before saving the associated record 2020-08-11 18:08:09 -04:00
previewer Generate a preview without print margins 2020-09-17 11:59:45 -04:00
service Update aws-sdk-s3 dependency 2020-05-19 23:09:39 +08:00
transformers Squish the deprecation messages across the codebase 2019-03-11 19:22:37 +05:30
analyzer.rb Fix typos [ci skip] 2020-04-22 21:43:37 -07:00
attached.rb Remove unused attribute 2018-07-21 14:21:14 -04:00
downloader.rb Add ActiveStorage::Service#open 2019-03-28 18:47:42 -04:00
downloading.rb Add ActiveStorage::Blob#open 2018-05-16 22:12:31 -04:00
engine.rb Active Storage: allow serving files by proxying 2020-05-11 16:21:58 -04:00
errors.rb Translate service-specific missing object exceptions into a generic one 2018-08-21 15:31:14 -04:00
gem_version.rb Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
log_subscriber.rb Mirror direct uploads 2019-05-22 15:07:35 -04:00
previewer.rb Store previews in the same service as the original blob 2019-12-20 15:06:03 -05:00
reflection.rb Fix that models can clobber each others' attachment reflections 2018-07-07 17:09:31 -04:00
service.rb Clarify ActiveStorage::Service#url docs [ci skip] 2020-09-12 12:47:33 -04:00
version.rb Use frozen string literal in Active Storage 2017-08-12 21:43:42 +09:00