exr metadata is not copied over
Posted: 2010-03-29T23:18:57-07:00
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.
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.