This options seems to be ignored by ImageMagick.
I would expect these two commands to produce similar or identical results:
Code: Select all
$ opj_compress -r 50 -i example.png -o example.opj.jp2 $ convert example.png -define jp2:rate=50 example.im.jp2
ImageMagick produces what seems to be a losslessly compressed image that has a relatively high file size.
I am using ImageMagick 6.8.9-9 and OpenJPEG 2.1.0.