Is transparency kept when an image is resized? Yes, in AVIF, WebP and PNG. JPEG has no transparency. More: Image delivery, What a variant looks like