carrierwave-vips 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/carrierwave/vips.rb +1 -1
- metadata +1 -1
data/lib/carrierwave/vips.rb
CHANGED
@@ -192,7 +192,7 @@ module CarrierWave
|
|
192
192
|
image = VIPS::Image.jpeg current_path, shrink_factor: shrink_factor, sequential: true
|
193
193
|
ratio = get_ratio image, width, height, min_or_max
|
194
194
|
elsif png?
|
195
|
-
image = VIPS::Image.png
|
195
|
+
image = VIPS::Image.png current_path, :sequential => true
|
196
196
|
end
|
197
197
|
|
198
198
|
if ratio > 1
|