Extract a subresolution of a JPEG2000 file to a new file

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
floppyzedolfin
Posts: 4
Joined: 2016-06-25T03:22:07-07:00
Authentication code: 1151

Extract a subresolution of a JPEG2000 file to a new file

Post by floppyzedolfin »

Hello,
I have a JPEG2000 (encoded with kakadu) image of which I want to extract every existing level.
Can ImageMagick help me in this task? If so, which option will do the magic?
If I ask for a resampling of my 2048x2048 image to a 1024x1024 image, will it automatically use the subresolutions?

Many thanks !
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Extract a subresolution of a JPEG2000 file to a new file

Post by fmw42 »

I do not know for sure. But I suspect it will do it automatically. But see https://imagemagick.org/script/jp2.php for the options used as -defines

Post an example to some free hosting service that does not change your image and put the URL here. Try dropbox.com for example. We can then test your image.

If you are already on ImageMagick, then just give it a try. And please always provide your IM version and platform when asking questions.
Post Reply