From 660dee75c58fc67134a1cb837fc64401be5850cc Mon Sep 17 00:00:00 2001 From: Ola Tuvesson <196348+clickworkorange@users.noreply.github.com> Date: Wed, 24 Jan 2024 22:19:06 +0000 Subject: [PATCH] Butterfingers. --- lib/carrierwave/processing/vips.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/carrierwave/processing/vips.rb b/lib/carrierwave/processing/vips.rb index 5c7c618f1..74899747a 100644 --- a/lib/carrierwave/processing/vips.rb +++ b/lib/carrierwave/processing/vips.rb @@ -79,10 +79,6 @@ def resize_and_pad(width, height, background=nil, gravity='centre', alpha=nil) process :resize_and_pad => [width, height, background, gravity, alpha] end - def resize_to_fit(width, height) - process :resize_to_fit => [width, height] - end - def crop(left, top, width, height) process :crop => [left, top, width, height] end @@ -218,7 +214,7 @@ def resize_and_pad(width, height, background=nil, gravity='centre', alpha=nil, c ## # Crop the image to the contents of a box positioned at [left] and [top], with the dimensions given - # by [width] and [height]. + # by [width] and [height]. # # # === Parameters