title: Image_Processing - MiniMagic - Shrine different quality for every derivatives
body: <p>Is there some way to set different quality for every created image? <strong>And of course leave original file with quality 88</strong></p>
  <blockquote>
  <p>image_uploader.rb</p>
  </blockquote>
  <pre><code>require &quot;image_processing/mini_magick&quot;
  
  class ImageUploader &lt; Shrine
  
      Attacher.derivatives do |original|
          magick = ImageProcessing::MiniMagick.source(original).saver(quality: 88)
          # generate the thumbnails you want here 
          { 
            thumb:  magick.resize_to_fill!(150, 150), /// quality 50
            medium: magick.resize_to_fill!(500, 500), /// quality 50
            large:  magick.resize_to_limit!(800, 800), /// quality 88
          }
      end
  
  end
  </code></pre>