O'Reilly logo

Pro Android Graphics by Wallace Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter     11

Advanced Image Blending: Using Android PorterDuff Classes

In this eleventh chapter, we’ll take a close look at the role that blending modes play in digital image compositing, as well as how to implement these digital image blending modes in Android, using the Android PorterDuff classes.

A blending mode allows advanced digital image compositing to be performed between two or more layers within a digital image composite. Each pixel in each layer is run through an algorithm to determine how it will be applied (or not applied) to the layer or layers underneath it.

Applying blending modes is usually done using a digital image editing and compositing software tool, such as Adobe Photoshop CS6 or the open source digital image software ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required