lib/carrierwave/processing/mini_magick.rb in locomotive_carrierwave-0.5.4.beta2 vs lib/carrierwave/processing/mini_magick.rb in locomotive_carrierwave-0.5.4.beta3
- old
+ new
@@ -127,17 +127,14 @@
img
end
end
##
- # From the RMagick documentation: "Resize the image to fit within the
- # specified dimensions while retaining the original aspect ratio. The
- # image may be shorter or narrower than specified in the smaller dimension
- # but will not be larger than the specified values."
+ # Resize the image to fit within the specified dimensions while retaining
+ # the original aspect ratio. The image may be shorter or narrower than
+ # specified in the smaller dimension but will not be larger than the specified values.
#
- # See even http://www.imagemagick.org/RMagick/doc/image3.html#resize_to_fit
- #
# === Parameters
#
# [width (Integer)] the width to scale the image to
# [height (Integer)] the height to scale the image to
#
@@ -152,20 +149,14 @@
img
end
end
##
- # From the RMagick documentation: "Resize the image to fit within the
- # specified dimensions while retaining the aspect ratio of the original
- # image. If necessary, crop the image in the larger dimension."
+ # Resize the image to fit within the specified dimensions while retaining
+ # the aspect ratio of the original image. If necessary, crop the image in the
+ # larger dimension.
#
- # See even http://www.imagemagick.org/RMagick/doc/image3.html#resize_to_fill
- #
- # and
- #
- # http://www.clipclip.org/clips/detail/4365/jerrett-net-ยป-crop_resized-in-rmagick
- #
# === Parameters
#
# [width (Integer)] the width to scale the image to
# [height (Integer)] the height to scale the image to
#
@@ -227,10 +218,10 @@
img
end
end
##
- # Manipulate the image with RMagick. This method will load up an image
+ # Manipulate the image with MiniMagick. This method will load up an image
# and then pass each of its frames to the supplied block. It will then
# save the image to disk.
#
# === Gotcha
#