Which version of OIIO are you using?  ("maketx --help | head")

Do you know precisely which libtiff you're using, and whether it was compiled 
with JPEG support?

Finally, what's the input test_linear.exr?  ("oiiotool -v -info 
test_linear.exr")


> On Jul 14, 2016, at 12:14 PM, Eric Tabellion <[email protected]> 
> wrote:
> 
> Hi oiio-dev!
> 
> I am trying to save on disk space and network bandwidth for our OIIO-based 
> texture pipeline and I am wondering what is a good lossy compression to use 
> for .tx files.
> 
> Has anyone ever tried and/or been successful at making mipped/tiled 
> "render-ready" .tx textures using good old "jpeg" compression ?
> 
> I've tried this with our build of maketx and got the following error:
> 
> maketx test_linear.exr -d uint8 --oiio --colorconvert linear sRGB --attrib 
> CompressionQuality 90 --compression jpeg -o test_srgb.tx
> 
> maketx ERROR: Write failed " : TIFFWriteTile failed writing tile x=0,y=0,z=0 
> (Application transferred too few scanlines)
> TIFFWriteTile failed writing tile x=0,y=64,z=0 (Application transferred too 
> few scanlines)
> TIFFWriteTile failed writing tile x=0,y=128,z=0 (Application transferred too 
> few scanlines)
> TIFFWriteTile failed writing tile x=0,y=192,z=0 (Application transferred too 
> few scanlines)
> TIFFWriteTile failed writing tile x=0,y=256,z=0 (Application transferred too 
> few scanlines)
> (message repeated until "y" reaches the vertical resolution of the input 
> texture)
> 
> 
> For reference, I'm on Red-Hat 6 and maketx/OIIO uses:
> 
> ldd `which maketx` | grep tiff
>         libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x00000036b7200000)
> 
> 
> Does this look familiar to anyone ? Could it be our build or version of 
> libtiff that is fishy ?
> Thanks for any insight!
> :-)
> Eric
> 
> -- 
> ---------------------------------------------------------------
> Eric Tabellion           [email protected] <mailto:[email protected]>
> R&D Staff                (650)-562-9146
> PDI/Dreamworks
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to