Quote:
Originally Posted by Neillithan
You seem to be missing my point though. As of present, the only web browser supported lossy format that supports alpha channel is WebP and it's limited to Chrome.
The reason people continue to use PNG is not for its superior image quality due to it being a lossless format. People use PNG because it supports an alpha channel.
|
It's possible to use JPEG(s) within an SVG for lossy images with alpha transparency, either with dual images (one for image the other for the alpha mask) or combined into a single image and the image/mask areas cropped for each purpose.
So not perhaps a one-click exportable option out of an image editor but works in all browsers. The downside is it either requires extra page markup (adding the SVG code within the page), multiple files (SVG, image(s)), or to base64 the image(s) used in the SVG as a single file, the latter of which comes with its own set of varying browser support.