Extracting EXR Resolution Levels

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
Alex
Posts: 3
Joined: 2017-01-10T02:45:35-07:00
Authentication code: 1151

Extracting EXR Resolution Levels

Post by Alex » 2017-01-10T02:49:31-07:00

Hi,

Does ImageMagick (specifically MagickCore) support extracting so called "resolution levels" from EXR images, and similar formats? If so please could someone point me in the right direction for documentation, as my google-fu is failing me.

For reference, here's the OpenEXR docs regarding resolution levels (search for "Levels and Level Modes"):
http://www.openexr.com/TechnicalIntroduction.pdf

Cheers,
- Alex.

snibgo
Posts: 9378
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Extracting EXR Resolution Levels

Post by snibgo » 2017-01-10T04:03:00-07:00

If it does, IM would probably see the various levels as simply independent images, each with its own size.

If you can provide a link to sample file(s), we can give it a try.
snibgo's IM pages: im.snibgo.com

Alex
Posts: 3
Joined: 2017-01-10T02:45:35-07:00
Authentication code: 1151

Re: Extracting EXR Resolution Levels

Post by Alex » 2017-01-10T04:07:05-07:00

Thanks for the reply - ILM has a repo with some test images here that should work: https://github.com/openexr/openexr-imag ... Resolution

snibgo
Posts: 9378
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Extracting EXR Resolution Levels

Post by snibgo » 2017-01-10T04:17:47-07:00

No, IM sees only one image per file:

Code: Select all

f:\web\im>%IM%identify kapaa.exr
kapaa.exr EXR 799x546 799x546+0+0 16-bit RGB 6.78MB 0.000u 0:00.000

f:\web\im>%IM%identify bonita.exr
bonita.exr EXR 550x832 550x832+0+0 16-bit RGB 2.304MB 0.000u 0:00.000
snibgo's IM pages: im.snibgo.com

Alex
Posts: 3
Joined: 2017-01-10T02:45:35-07:00
Authentication code: 1151

Re: Extracting EXR Resolution Levels

Post by Alex » 2017-01-10T04:21:31-07:00

Damn, that sucks - Guess I'll have to use OpenEXR directly.

Thanks for your help :).

Cheers,
- Alex.

Post Reply