Module dirtyalpha

Source

Functionsยง

bleed_opaque_color ๐Ÿ”’
copy color from opaque pixels to transparent pixels (so that when edges get crushed by compression, the distortion will be away from visible edge)
blur_transparent_pixels ๐Ÿ”’
ensure there are no sharp edges created by the cleared alpha
blurred_dirty_alpha ๐Ÿ”’
Clear/change RGB components of fully-transparent RGBA pixels to make them cheaper to encode with AV1
chain ๐Ÿ”’
clamp ๐Ÿ”’
premultiplied_minmax ๐Ÿ”’
safe range to change px color given its alpha (mostly-transparent colors tolerate more variation)
weighed_pixel ๐Ÿ”’