{"repo":"janko/image_processing","free":true,"listed":false,"github":"https://github.com/janko/image_processing","clone":"git clone https://github.com/janko/image_processing.git","description":"Web-friendly image processing macros for libvips and ImageMagick","language":"Ruby","stars":959,"topics":["imagemagick","ruby","minimagick","image-processing","vips","thumbnails"],"license":"MIT","category":"media-processing","readme_excerpt":"ImageProcessing Provides higher-level image processing helpers that are commonly needed when handling image uploads. This gem can process images with [ImageMagick] or [libvips]. ImageMagick is a good default choice, especially if you are migrating from another gem or library that uses ImageMagick. Libvips is a newer library that can process images [very rapidly][libvips performance] (often multiple times faster than ImageMagick). Goal The goal of this project is to have a single gem that contains all the helper methods needed to resize and process images. Currently, existing attachment gems (like Paperclip, CarrierWave, Refile, Dragonfly, Active Storage, and others) implement their own custom image helper methods. But why? That's not very DRY, is it? Let's be honest. Image processing is a dark, mysterious art. So we want to combine every great idea from all of these separate gems into a single awesome library that is constantly updated with best-practice thinking about how to resize and process images. Installation 1. Install ImageMagick and/or libvips: In a Mac terminal: In a debian/ubuntu terminal: 2. Add the gem(s) to your Gemfile: Usage Processing is performed through [ ImageProcessing::Vips ] or [ ImageProcessing::MiniMagick ] modules. Both modules share the same chainable API for defining the processing pipeline: This allows easy branching when generating multiple derivatives: The processing is executed on #call or when a processing method is called with a bang ( ! ). Y","default_branch":null,"files":null,"tree":[],"storefront":"/r/janko","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/janko/image_processing/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}