cache hasAlpha for ImagingUnsharpMask