What is the most efficient way in Skia to treat an opaque grayscale RGBA image as an alpha mask suitable for use with clipShader ? e.g. Where the whitest portion of the image implies my masked layer contents is most visible and the darkest the least visible.e.g. Do I need to construct a new kAlpha_8 image from one of the image channels, or is there a convenience method or automatic mechanism to do this for me?
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/cd5af7ed-f4a0-47be-9e73-1374e2282da3n%40googlegroups.com.