JMagick - 如何改变亮度和对比度?

JMagick - How to change brightness and contrast?

我想使用 jmagick 改变图像的亮度和对比度。

ImageInfo i = new ImageInfo("digits.jpg");
MagickImage m = new MagickImage(i);
//Modulates the hue, saturation, and brightness of an image.
m.modulateImage("70,100,100");