add lcms2 dependency in install

This commit is contained in:
Albert Yi
2018-10-03 13:52:04 -07:00
parent 6a0d44b496
commit 27072d695d
2 changed files with 2 additions and 6 deletions

View File

@@ -18,11 +18,7 @@ module DanbooruImageResizer
end
def self.crop(file, width, height, quality = 90)
if Vips.at_least_libvips?(8, 5)
crop_ruby(file, width, height, quality)
else
crop_shell(file, width, height, quality)
end
crop_shell(file, width, height, quality)
end
# https://github.com/jcupitt/libvips/wiki/HOWTO----Image-shrinking