There's nothing in the OIIO library itself that handles compression -- it 
assumes that data is compressed/decompressed by the underlying format library 
(libtiff, IlmImf, libjpeg, etc.) and the whole point is to hide those details 
from the app that is using the OIIO APIs.

Custom ImageInput/ImageOutputs may be defined internal to an app or as a 
plugin. It would be possible to make an ImageInput/ImageOutput pair that "looks 
like" it's reading/writing from files, but actually is communicating over a 
socket or via a memory buffer. They would be responsible for their own 
compression and communication.

        -- lg


> On Mar 19, 2016, at 10:00 AM, Visual Designer - Digital Team 
> <[email protected]> wrote:
> 
> Hi,
> 
> I have a raw version of an image in memory, but I would like to "compress" it 
> without saving it on the disk.
> 
> Saving/Loading on disk is slow and we need to stream the info in real time...
> 
> Something ImageOutput/ImageInput but replacing the file path with a stream or 
> a memory buffer !
> 
> Is it possible ?
> 
> Thanks
> 
> Krys

--
Larry Gritz
[email protected]


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

Reply via email to