On Thu, 20 May 2004 00:02:42 +0000, Tim Hunter wrote:
> convert -quality 100 image.tif image.jp2

(Yeah, I know I shouldn't follow up my own posts.)

The RMagick version of this is 

img.write("image.jp2") {self.quality = 100}