### ImageMagick version

7.1.1-5

### Operating system

MacOS

### Operating system, version and so on

macOS 13.3 (Ventura)

### Description

I can't seem to get ImageMagick to create a lossy jpeg2000.  Jpeg2000 supports both lossless and lossy compression, but ImageMagick is always using lossless.

The [jpeg2000 format docs](http://patrickdieudonne.com/ImageMagick-6.7.0-2/www/jp2.html) are not explicit about how to choose lossy vs lossless, but I *think* from the first example shown that it's supposed to happen automatically based on the value of `jp2:rate` encoding option:

> * compression is lossy at 64:1
> `-define jp2:rate=0.015625`

However, when I try this same command, the output file is reported to be lossless (using ffprobe).


### Steps to Reproduce

```
% convert wizard.png -define jp2:cblkwidth=64 -define jp2:cblkheight=32 \
-define jp2:nomct -define jp2:numrlvls=4 -define jp2:rate=0.015625 wizard.jpc
```

```
% ffprobe wizard.jpc 2>&1 | grep "Stream"
  Stream #0:0: Video: jpeg2000, rgb24, 940x1250, lossless, 25 fps, 25 tbr, 25 tbn
```

### Images

![wizard](https://user-images.githubusercontent.com/188955/229563904-90a3306f-3583-475b-9b22-711e10a59966.png)
[wizard.jpc.zip](https://github.com/ImageMagick/ImageMagick/files/11140172/wizard.jpc.zip)

Unable to save image as lossy jpeg2000
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Unable to save image as lossy jpeg2000
Issue date:

--- start body ---
### ImageMagick version

7.1.1-5

### Operating system

MacOS

### Operating system, version and so on

macOS 13.3 (Ventura)

### Description

I can't seem to get ImageMagick to create a lossy jpeg2000.  Jpeg2000 supports both lossless and lossy compression, but ImageMagick is always using lossless.

The [jpeg2000 format docs](http://patrickdieudonne.com/ImageMagick-6.7.0-2/www/jp2.html) are not explicit about how to choose lossy vs lossless, but I *think* from the first example shown that it's supposed to happen automatically based on the value of `jp2:rate` encoding option:

> * compression is lossy at 64:1
> `-define jp2:rate=0.015625`

However, when I try this same command, the output file is reported to be lossless (using ffprobe).


### Steps to Reproduce

```
% convert wizard.png -define jp2:cblkwidth=64 -define jp2:cblkheight=32 \
-define jp2:nomct -define jp2:numrlvls=4 -define jp2:rate=0.015625 wizard.jpc
```

```
% ffprobe wizard.jpc 2>&1 | grep "Stream"
  Stream #0:0: Video: jpeg2000, rgb24, 940x1250, lossless, 25 fps, 25 tbr, 25 tbn
```

### Images

![wizard](https://user-images.githubusercontent.com/188955/229563904-90a3306f-3583-475b-9b22-711e10a59966.png)
[wizard.jpc.zip](https://github.com/ImageMagick/ImageMagick/files/11140172/wizard.jpc.zip)

--- end body ---
