Hello,

I run into an error when i’m trying to convert a .tiff into .png :
« libpng error: known incorrect sRGB profile »

 

Can’t find where it comes from , it just seems that the message pop after this last line :

 

in_buf_rgba.specmod().attribute("compression", self.compression.lower())
in_buf_rgba.
specmod().attribute("oiio:ColorSpace", "sRGB"# self.out_cs if not ODT_DICO.get(self.odt) else self.odt)
bitdepth = self.bitdepth_picker(in_buf_data.nativespec().format, self.out_bitdepth)
in_buf_rgba.
set_write_format(bitdepth)

 

here my variable « bitdepth » is a string as « UINT8, UINT16, … »

I suppose that I am missing a metadata information to make it work.

 

If you could point me in which direction to go.

 

Kindly, Liam Collod.

 

 


Garanti sans virus. www.avast.com
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to