Sorry, I didn't realize the website converted the file when I uploaded it.
It seems all site are converting the picture to their own format, so
here's the file on a standard hosting site:
http://s000.tinyupload.com/index.php?file_id=42596689254225391199
Hopefully it should work.
On 10/23/2015 07:34 PM, Larry Gritz wrote:
I'm confused, that's a png file, how does it ever hit TIFFInput::read_scanlines?
On Oct 23, 2015, at 9:07 AM, Michel Lerenard <[email protected]> wrote:
Hi,
I've encountered a file that makes OIIO crashes during load. The file has an
unassociated alpha channel, and by default OIIO tries to premult it in
TIFFInput::read_scanlines.
The process crashes.
I can prevent the crash by adding "config.attribute ("oiio:UnassociatedAlpha",
1);" into my config spec before I load the file.
I've upped the file here, if anyone can have a look at it ?
http://s28.postimg.org/df6s8zbn1/zlf_density.png
I'm wondering if I can detect that the process will fail and add the flag at
load ?
I made a test with a smaller file (256*256), and it does no crash, weirdly.
Thanks.
Michel
--
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