The TypeDesc by design only describes C/machine types.

To get a 10 bit dpx, you use TypeDesc::UINT16 (round up to 16 bits), but set a 
bits per pixel metadata in the ImageSpec:

        spec.set_format (TypeDesc::UINT16);
        spec.attribute ("oiio:BitsPerPixel", 10);


On Jan 1, 2014, at 10:58 PM, 昌霖 <[email protected]> wrote:

> Hello,
> 
> Is there a way to write 10bit dpx?
> I cannot find a suitable TypeDesc to specify it.
> 
> Thanks
> 

--
Larry Gritz
[email protected]



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

Reply via email to