- Issue created by @albefer
When using the WPF module to generate responsive images, the fallback image is always converted to JPG format. While this works well for most cases, when the original image is a PNG with transparency, the JPG fallback image loses its transparency, resulting in broken or visually incorrect images. Transparent areas in the image appear as solid black or corrupted, making the fallback image unusable.
The WPF module should be updated to check if the original image is a PNG with transparency. If this is the case, the fallback image should **remain a PNG** instead of being converted to JPG. This would ensure that the transparency of the image is preserved and the image displays correctly on all browsers, even those that do not support WebP.
There are no UI changes required for this fix, as the issue is related to the backend image processing logic. No changes will be visible to end-users.
There are no changes needed to the public API of the WPF module. The change will be internal to the image processing logic.
No changes are required to the data model for this issue. It is related to the way images are handled during the WebP fallback process, and does not affect the database schema or data storage.
Active
1.2
Code