File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed 
activestorage/app/models/active_storage Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 88# 
99# Variants rely on {ImageProcessing}[https://github.com/janko/image_processing] gem for the actual transformations 
1010# of the file, so you must add <tt>gem "image_processing"</tt> to your Gemfile if you wish to use variants. By 
11- # default, images will be processed with {ImageMagick }[http://imagemagick.org ] using the 
12- # {MiniMagick }[https://github.com/minimagick/minimagick ] gem, but you can also switch to the 
13- # {libvips }[http://libvips.github.io/libvips/ ] processor operated by the {ruby-vips }[https://github.com/libvips/ruby-vips ] 
11+ # default, images will be processed with {libvips }[http://libvips.github.io/libvips/ ] using the 
12+ # {ruby-vips }[https://github.com/libvips/ruby-vips ] gem, but you can also switch to the 
13+ # {ImageMagick }[http://imagemagick.org ] processor operated by the {MiniMagick }[https://github.com/minimagick/minimagick ] 
1414# gem). 
1515# 
1616# Rails.application.config.active_storage.variant_processor 
17- # # => :mini_magick 
18- # 
19- # Rails.application.config.active_storage.variant_processor = :vips 
2017# # => :vips 
2118# 
19+ # Rails.application.config.active_storage.variant_processor = :mini_magick 
20+ # # => :mini_magick 
21+ # 
2222# Note that to create a variant it's necessary to download the entire blob file from the service. Because of this process, 
2323# you also want to be considerate about when the variant is actually processed. You shouldn't be processing variants inline 
2424# in a template, for example. Delay the processing to an on-demand controller, like the one provided in 
                                 You can’t perform that action at this time. 
               
                  
0 commit comments