When it comes to color space and color theory, it is always good to check and double check. It might not be the right thing in the code, but when I look at the image, it is correct. :)
As for the problem, yes Exactly precision issue with UINT8 Dave Lajoie R&D Director | Directeur R&D [image: Digital-District] <http://www.digital-district.fr> 5605 Avenue de Gaspé, Suite 408 | Montréal, QC H2T 2A4 Tel (514) 360-3253 ext. 130 On Thu, Oct 2, 2014 at 4:25 PM, Larry Gritz <[email protected]> wrote: > Ah, ok, of course I understand now. As I suspected, not enough coffee on > my part. > > So really the only issue was that you were doing the color space > conversion as UINT8 -> UINT8 and losing bits along the way. > > > > On Oct 2, 2014, at 1:19 PM, Dave Lajoie <[email protected]> > wrote: > > Hello Larry, I use pow() twice in the code example I have sent you. one > that emulates the sRGB in the ramp and one that applies the ungamma the > ramp prior to apply slate / titling. in my example I wasn't using the > convert() call. > > > So far I haven't changed those values, and my tools can process mov, mp4, > webm, jpg, png, tif, exr, and gamma is properly handled for all cases. ( > assuming RV handles color space and display luts correctly, which I think > it is the case ). > > Cheers > Dave. > > Dave Lajoie > R&D Director | Directeur R&D > [image: Digital-District] <http://www.digital-district.fr/> 5605 Avenue > de Gaspé, Suite 408 | Montréal, QC H2T 2A4 > Tel (514) 360-3253 ext. 130 > > On Thu, Oct 2, 2014 at 3:34 PM, Larry Gritz <[email protected]> wrote: > >> What was your conclusion about the proper power to use to convert sRGB to >> linear? >> >> >> >> On Oct 2, 2014, at 4:50 AM, Dave Lajoie <[email protected]> >> wrote: >> >> Converting the UINT8 ImageBuf Instance to FLOAT, prior to apply pow() >> solved the problem. >> >> srcBuf.read( 0, 0, True, OpenImageIO.FLOAT ) >> >> Thanks >> Dave. >> >> >> >> On Wed, Oct 1, 2014 at 3:01 PM, Dave Lajoie < >> [email protected]> wrote: >> >>> Thanks Larry, much appreciated! >>> >>> I will keep you posted. >>> >> >> >> >> -- >> Larry Gritz >> [email protected] >> >> >> >> >> _______________________________________________ >> Oiio-dev mailing list >> [email protected] >> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >> >> > _______________________________________________ > 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 > >
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
