I updated the code for ImageBufAlgo::composite:

https://github.com/StefanStavrev/oiio/commit/31c7ae27bc3b64959abb78607e6383f6011ba9ed

I tested all Porter-Duff operations with transparency,
without transparency and with image offsets:

1. Without transparency:    http://postimage.org/image/x8attcuyv/
2. With transparency:         http://postimage.org/image/7wbr6cko7/
3. With offsets:                     http://postimage.org/image/jwj1tbykb/

What you see as white is actually fully transparent as it is supposed to
be, where both iterators are not valid.

If you ask me, we should create a pull request, while I have this clean
commit where you can clearly see the changes. We don't have to
work on it right away though, we have to finish histograms first.

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

Reply via email to