exr metadata is not copied over

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
dioniz

exr metadata is not copied over

Post by dioniz »

Hi, I found out that certain data on exr header is not copied over, for example:

before convert with IM:

file format version: 2, flags 0x0
channels (type chlist):
B, 16-bit floating-point, sampling 1 1
G, 16-bit floating-point, sampling 1 1
R, 16-bit floating-point, sampling 1 1
compression (type compression): zip, individual scanlines
dataWindow (type box2i): (-336 0) - (2163 777)
displayWindow (type box2i): (0 0) - (1827 777)

after convert with IM:

file format version: 2, flags 0x0
channels (type chlist):
A, 16-bit floating-point, sampling 1 1
B, 16-bit floating-point, sampling 1 1
G, 16-bit floating-point, sampling 1 1
R, 16-bit floating-point, sampling 1 1
compression (type compression): zip, multi-scanline blocks
dataWindow (type box2i): (0 0) - (2499 777)
displayWindow (type box2i): (0 0) - (2499 777)

The problem I'm having is with the data and display window, because the different values mess up the display and the absolute location of an overlay object.
Is there an easy way to fix this? I tried to look around but there isn't much information on exr.

My command line is a simple:
convert file.exr -stroke tomato -fill red -strokewidth 3 -draw 'circle 50,30 50,55' -compress zip file.exr

Any help will be appreciated. Thanks in advance.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: exr metadata is not copied over

Post by magick »

We'll need to investigate this problem and get back with you. We're swamped right now so it may be awhile before you hear from us.
dioniz

Re: exr metadata is not copied over

Post by dioniz »

Thanks for the acknowledgment. I wanted to make sure I didn't miss anything obvious. We might just have to work around it for now.
User avatar
danielHeen
Posts: 28
Joined: 2010-03-18T06:34:34-07:00
Authentication code: 8675308
Location: Oslo, Norway

Re: exr metadata is not copied over

Post by danielHeen »

This is a very old post, but what was the outcome of this?
Thanks,
-Daniel
Post Reply