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 ...

Get Pro Android Graphics now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.