Mobile App Development Publication

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Member-only story

Learning Android Development

Practical Image PorterDuff Mode Usage in Android

Blending two images to produce the desired image output using PorterDuff

8 min readAug 22, 2019

--

PorterDuff Mode is a software image blending method that is available in many software platforms, which includes Android. It is based on a mathematic model which runs on the pixels of two images to produce a neat output.

Many people have used it to make a circular image as below…

But aside from making circular images, there are so many interesting things that could be achieved using PorterDuff.

For illustration, the blending of the cloud and dragon animations is accomplished by looping through various PorterDeff.Mode. In this piece, we will cover this explanation in more detail and also give more practical examples of its usages.

The API Usage

--

--

Mobile App Development Publication
Mobile App Development Publication

Published in Mobile App Development Publication

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Elye - A One Eye Dev By His Grace
Elye - A One Eye Dev By His Grace

Written by Elye - A One Eye Dev By His Grace

Sharing Software Learning, Life and Faith Journey

Responses (2)