Page 1 of 1
Converting to JP2
Posted: 2012-12-11T20:18:37-07:00
by UlyLee
Hi,
I want to convert to JP2 and have the following required specs:
Quality levels/layers:
Multiple quality levels/layers, highest quality should be lossless. 16 levels/layers. After lossless, 4 bits/pixel, 2 bits/pixel, and so on down to 0.015625 bits/pixel.
I can set this using the ilyrrates parameter right? What would be the array of values that I would use to satisfy the requirements above?
Thanks in advance.
Re: Converting to JP2
Posted: 2012-12-11T20:25:21-07:00
by fmw42
JP2 (JPG2000) is currently handled by the Jasper delegate library. To get your desired functionality, you may need to use the Jasper delegate itself outside of IM.
See
http://www.imagemagick.org/script/jp2.php
http://www.ece.uvic.ca/~frodo/jasper/
Re: Converting to JP2
Posted: 2012-12-12T02:46:59-07:00
by UlyLee
Thanks for the reply.
I'm fairly new to the JP2 format and I was trying to understand the requirements that I mentioned above and try to map it out in the JP2 options in ImageMagick. I already saw that links before I posted, but it does not offer any information that would help me understand the requirements.
Quality levels/layers:
Multiple quality levels/layers, highest quality should be lossless. 16 levels/layers. After lossless, 4 bits/pixel, 2 bits/pixel, and so on down to 0.015625 bits/pixel.
As I understand this, it says that there should have 16 layers with the rates going from lossless to 0.015625. So in using the ilyrrates options in ImageMagick, I need 16 rate values, representing the 16 layers, which goes from 0.015625 bits/pixel to 4 bits/pixel. Is this correct?
Now, how do I get the rest of the values?
TIA
Re: Converting to JP2
Posted: 2012-12-12T11:02:39-07:00
by fmw42
Wish I could help, but I do not use JP2 enough. I just normally use the default. I am not really knowledgeable in its parameterization. Perhaps someone else might be able to help who uses Jasper more than I.