Fix #3582: Switch from ImageMagick to libvips

This commit is contained in:
evazion
2018-03-26 20:19:13 -05:00
parent 6c790c61d3
commit dc9b7e5bda
10 changed files with 39 additions and 56 deletions

View File

@@ -550,10 +550,6 @@ module Danbooru
true
end
def image_magick_srgb_profile_path
# "/usr/share/ghostscript/9.06/Resource/ColorSpace/sRGB"
end
# For downloads, if the host matches any of these IPs, block it
def banned_ip_for_download?(ip_addr)
raise ArgumentError unless ip_addr.is_a?(IPAddr)

BIN
config/sRGB.icm Normal file

Binary file not shown.