use modulate instead of -brightness-contrast for now, as the cedar stack has an outdated version of mogrify [ci skip]
This commit is contained in:
parent
3f6a862a45
commit
7d1f73261f
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,10 @@ class WallpaperUploader < CarrierWave::Uploader::Base
|
|||
|
||||
def darken
|
||||
manipulate! do |img|
|
||||
img.brightness_contrast "-40x-50"
|
||||
# img.brightness_contrast "-40x-50"
|
||||
# thanks, heroku.
|
||||
img.modulate "40,40"
|
||||
|
||||
img = yield(img) if block_given?
|
||||
img
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue