I am unable to reproduce, and suspect it is fixed by this patch: 
https://github.com/OpenImageIO/oiio/pull/1278

That should be in both the current master and RB-1.6.

Can you confirm on your end?

        -- lg


> On Jan 5, 2016, at 4:47 AM, Michel Lerenard <[email protected]> wrote:
> 
> Hi,
> 
> First, happy new year to all of you. May 2016 be bug free. ;)
> 
> 
> Sorry to bother you again with this, but did anyone had some time to have a 
> look at the file attached ?
> 
> On 10/26/2015 09:21 AM, Michel Lerenard wrote:
>> 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

--
Larry Gritz
[email protected]


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

Reply via email to