Needless to say, if iconvert works, please feel free to post the code
surrounding the write_image call, maybe we can spot an error.
-- lg
On Oct 12, 2012, at 9:59 AM, Larry Gritz wrote:
> Are you able to write TIFF files with the utilities that come with OIIO?
>
> iconvert foo.png foo.tif
>
> Does that give you a valid TIFF file? If so, the problem is probably in the
> way you are calling write_image or somewhere else in your program.
>
> -- lg
>
>
> On Oct 12, 2012, at 9:35 AM, Michel Lerenard wrote:
>
>> Hi everyone,
>>
>> Sorry to bother you with this issue but i don't find any reason why it
>> happens:
>> I can't write files in TIFF format. The same data is correctly exported in
>> several format (png, jpg, exr, etc...).
>> In TIFF, i get a blank (transparent) image.
>>
>> I only have this problem with linux. Windows version works fine. I've tried
>> using different version of the lib, it does not work.
>> (i've tried 3.8.2, 3.9.4, 4.0.2)
>>
>> I can't find any reason why it doesn't work, i use a simple
>> ImageOutput::write_image() call.
>>
>> Do anyone have a clue about this kind of problem ?
>>
>> Thanks in advance.
>>
>>
>> Michel
>>
>> _______________________________________________
>> 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
--
Larry Gritz
[email protected]
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org