This commit is contained in:
anastasiya.kachalova
2024-12-10 16:02:14 +03:00
parent 2282b30e12
commit 157a084b01

View File

@@ -25,7 +25,7 @@ module Paperclip
when 'image/png', 'image/x-png'
"pngcrush -rem alla -q #{src_shell} #{dst_shell}"
when 'image/gif'
"gifsicle -o #{dst_shell} --no-comments --no-names --same-delay --same-loopcount --no-warnings -- #{src_shell}"
"gifsicle -o #{dst_shell} --no-warnings -- #{src_shell}"
else
return
end