Hey all,
trying out oiiotool on 1.6.16 for the first time on windows, I haven't
figured out how to build the docs yet, so I wanted to make sure I was doing
this right:
I'm trying to resize a tif to half its size. I'm using the test image from
the project testsuite\dpx\input_rgb_mattes.tif However the result is
black. If I --resize 150% it does what I would expect... am I missing
something obvious? I attached the output tif in case that is useful
C:\Users\v-andwoo\Documents\code\oiio\output\src>oiiotool\MinSizeRel\oiiotool.exe
"C:\Users\v-andwoo\Documents\code\oiio\oiio\testsuite\dpx\input_rgb_mattes.tif"
--resize 50% -o C:\Users\v-andwoo\Pictures\out.tif --debug
Reading
C:\Users\v-andwoo\Documents\code\oiio\oiio\testsuite\dpx\input_rgb_mattes.tif
Performing 'resize' with args: "--resize", "50%"
Resizing 250x116 to 125x58 using default filter
Output: C:\Users\v-andwoo\Pictures\out.tif
Writing C:\Users\v-andwoo\Pictures\out.tif
oiiotool\MinSizeRel\oiiotool.exe -info -v C:\Users\v-andwoo\Pictures\out.tif
Reading C:\Users\v-andwoo\Pictures\out.tif
C:\Users\v-andwoo\Pictures\out.tif : 125 x 58, 3 channel, uint16 tiff
channel list: R, G, B
oiio:BitsPerSample: 16
Orientation: 1 (normal)
XResolution: 72
YResolution: 72
ResolutionUnit: "none"
Software: "OpenImageIO 1.6.16 : oiiotool\MinSizeRel\oiiotool.exe
C:\Users\v-andwoo\Documents\code\oiio\oiio\testsuite\dpx\input_rgb_mattes.tif
--resize 50% -o C:\Users\v-andwoo\Pictures\out.tif --debug"
DateTime: "2016:08:16 13:40:40"
tiff:PhotometricInterpretation: 2
tiff:PlanarConfiguration: 1
planarconfig: "contig"
tiff:Compression: 8
compression: "zip"
tiff:RowsPerStrip: 58
PixelAspectRatio: 1
thanks for any help you can give me!
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org