Top "Porter-duff" questions

In computer graphics, alpha compositing(technique invented by Porter and Duff) is the process of combining an image with a background to create the appearance of partial or full transparency.

i want to add a color filter to the imageview

I'd like to add a ColorFilter to ImageView. Currently I'm using: ImageView iv = (ImageView)findViewById(resIdOfImageToFilter); iv.setColorFilter(Color.RED, …

android android-imageview porter-duff
What does PorterDuff.Mode mean in android graphics.What does it do?

I would like to know what PorterDuff.Mode means in android graphics. I know that it is a transfer mode. …

android graphics porter-duff
Masking(crop) image in frame

Having a rich UI application in which I want to show image with complex shape like this Now what I …

android image bitmap masking porter-duff
Android ColorFilter - Porter-Duff Modes

I'm trying to solve a problem with android ColorFilters. Documentation is very poor, so the main method is trying different …

android colors filter porter-duff colorfilter
Drawing on Canvas - PorterDuff.Mode.CLEAR draws black! Why?

I'm trying to create a custom View which works simple: there is a Bitmap which is revealed by arc path …

android canvas drawing porter-duff
Android color overlay - PorterDuff modes

I have a black & white ninepatch drawable as background of a view and I would like to apply a …

android porter-duff colorfilter
Blending two images together with multiply and % opacity

I'm trying to blend two images together with Android, using a Multiply-like blending mode. // Prepare ------------------------------- // Create source images Bitmap …

android blending porter-duff
Android Gauge Animation Question

Okay so i've been trying to do this for a couple of days and i am getting no where. So …

android animation bitmap gauge porter-duff
How to create a 'transparent circle inside rectangle' shape in XML in Android?

I'm trying to create the following design in my app. Design Mockup Its an overlay on top of the main …

android porter-duff
Punch a hole in a rectangle overlay with HW acceleration enabled on View

I have a view which does some basic drawing. After this I want to draw a rectangle with a hole …

android graphics drawing hardware-acceleration porter-duff