Skip to main content

has_real_alpha

Function has_real_alpha 

Source
fn has_real_alpha(img: &DynamicImage) -> bool
Expand description

True when some pixel is not fully opaque. Many screenshots carry an alpha channel that is 255 everywhere; those can still become JPEG.