Hey all,
having some problems converting an exr to jpg
I think I may be misunderstanding how --ch works (built 1.1.2) --my command
looks something like this:
>oiiotool /var/tmp/my_input.exr -o /var/tmp/output.jpg --ch R,G,B
oiiotool ERROR: jpeg does not support 5-channel images
in case it helps, the header of the exr looks like this:
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
depth.Z, 16-bit floating-point, sampling 1 1
compression (type compression): zip, individual scanlines
dataWindow (type box2i): (-85 -114) - (2139 1219)
displayWindow (type box2i): (0 0) - (1919 1079)
lineOrder (type lineOrder): increasing y
nuke/nkscript (type string):
"/dd/shows/DEVTD/SR/9999/user/work.awood/nuke/submission.nk"
nuke/node_hash (type string): "8dccfb2b2dc60e20"
pixelAspectRatio (type float): 1
screenWindowCenter (type v2f): (0 0)
screenWindowWidth (type float): 1
(also, small point, I was hoping to crop down to displayWindow and ignore
the dataWindow. I tried --croptofull, but that didn't have an effect. am
I misunderstanding that one too?)
thanks in advance!
Andrew
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org