I see this flag:
--noautocrop Do not automatically crop images whose formats don't
support separate pixel data and full/display windows
I'm reading an exr (display window same as data window) and outputting an
exr. I'd love an autocrop behavior to set the bounding box. I was
thinking that is what it would do automatically based on that flag.
But that does not seem to be the case. Am I missing something obvious?
oiio 1.1.9
thanks!
Andrew
oiiotool input.exr -o /var/tmp/test.exr
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
fire_color.b, 16-bit floating-point, sampling 1 1
fire_color.g, 16-bit floating-point, sampling 1 1
fire_color.r, 16-bit floating-point, sampling 1 1
fire_mask, 16-bit floating-point, sampling 1 1
smoke_color.b, 16-bit floating-point, sampling 1 1
smoke_color.g, 16-bit floating-point, sampling 1 1
smoke_color.r, 16-bit floating-point, sampling 1 1
smoke_mask, 16-bit floating-point, sampling 1 1
comment (type string): "none"
compression (type compression): zip, individual scanlines
dataWindow (type box2i): (0 0) - (2251 967)
displayWindow (type box2i): (0 0) - (2251 967)
lineOrder (type lineOrder): increasing y
pixelAspectRatio (type float): 1
screenWindowCenter (type v2f): (0 0)
screenWindowWidth (type float): 1
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
fire_color.b, 16-bit floating-point, sampling 1 1
fire_color.g, 16-bit floating-point, sampling 1 1
fire_color.r, 16-bit floating-point, sampling 1 1
fire_mask, 16-bit floating-point, sampling 1 1
smoke_color.b, 16-bit floating-point, sampling 1 1
smoke_color.g, 16-bit floating-point, sampling 1 1
smoke_color.r, 16-bit floating-point, sampling 1 1
smoke_mask, 16-bit floating-point, sampling 1 1
comment (type string): "none"
compression (type compression): zip, multi-scanline blocks
dataWindow (type box2i): (0 0) - (2251 967)
displayWindow (type box2i): (0 0) - (2251 967)
lineOrder (type lineOrder): increasing y
pixelAspectRatio (type float): 1
screenWindowCenter (type v2f): (0 0)
screenWindowWidth (type float): 1
Andrew Wood
Pipeline Engineer, Digital Domain
x2914
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org