次のコードを使用して、imagemagick を介して heroku で画像の明るさ (クリップ後処理) を変更しようとしている場合:
command = "#{File.expand_path(@file.path)} -resize x300^ -brightness-contrast +50 -gravity Center -crop 300x300+0+0 -colorspace Gray #{File.expand_path(dst.path)}"
次のエラーがあります:
convert: unrecognized option `-brightness' @ error/convert.c/ConvertImageCommand/844.
画像の明るさを変更するにはどうすればよいですか?