Overlay and multiply effects for gdImageSetPixel
Tim Toohey
Branch: ttoohey/gd-libgd:layout-effect
Branch: libgd/gd-libgd:master
Merged
Merged pull request
Merged in ttoohey/gd-libgd/layout-effect (pull request #18)
Merged in ttoohey/gd-libgd/layout-effect (pull request #18)
This extends the gdImageAlphaBlending() function to allow setting the alphaBlendingArg to gdEffectOverlay or gdEffectMultiply. These provide different effects for drawing pixels.
gdEffectOverlay has been in the embedded PHP copy of libgd for a few years now