dilagurung / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

ARGB edge extrude #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For bilinear scaling it can be useful to have edge pixel RGB values extruded 
onto the transparent pixels, so rendering will filter with the same color.

Suggested implementation
For transparent pixels, do alpha weighted average of 3x3.
Alternatively use RGB of the pixel with highest alpha.

Original issue reported on code.google.com by fbarch...@google.com on 12 Jun 2013 at 6:29

GoogleCodeExporter commented 9 years ago
Defer - no immediate need.  Work around by preattenuating art.

Original comment by fbarch...@google.com on 10 Sep 2013 at 8:19