Page 1 of 1

Extract a subresolution of a JPEG2000 file to a new file

Posted: 2018-12-20T02:37:14-07:00
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 !

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

Posted: 2018-12-20T14:13:59-07:00
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.