Hi,

i've stumbled across a serious issue while saving images. I'm using the write_tile function to write data in the image, and the function does not have the same behavior in Tiff and EXR plugins when writing the bottom and left border tiles, whose height and width can be truncated to respect the image size.

The tiff plugin requires a buffer which covers a complete tile (ie spec.tilewidth*spec.tileheight*spec.channels) => non contiguous data on partially used border tiles. the exr plugin requires a buffer which covers the exact size of the current tile. => contiguous data on all tiles


I need to have format specific code to arrange data so its works, using OIIO::copy_image. Is it intended, or is it a bug ?

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

Reply via email to