Re: [Gimp-developer] Combining Porter-Duff operations with Blend Modes?
- From: Ville Sokk <ville sokk gmail com>
- To: Calculemus <calculemus1988 gmail com>
- Cc: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] Combining Porter-Duff operations with Blend Modes?
- Date: Fri, 13 Jul 2012 19:51:58 +0300
On Fri, Jul 13, 2012 at 2:33 PM, Calculemus <calculemus1988 gmail com> wrote:
> Sorry I replied to previous message with this content, but meant to send
> this
> as new topic.
>
> How does GIMP deal with Porter-Duff operations and Blend modes?
>
> Where can I find an example code of this?
>
> Mathematically there is one formula to mix porter-duff and blending
> into one, but I am interested how is this implemented.
>
> Thanks
> _______________________________________________
> gimp-developer-list mailing list
> gimp-developer-list gnome org
> https://mail.gnome.org/mailman/listinfo/gimp-developer-list
>
The way blending modes are done in GIMP is a hack using 8-bit integers
and not a good representation of Porter-Duff operations. Look into
GEGL's sources, it even has a Porter-Duff category
http://gegl.org/operations.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]