Transparent .pngs with colour type Palette cannot be converted #1864
Labels
[Plugin] Modern Image Formats
Issues for the Modern Image Formats plugin (formerly WebP Uploads)
[Type] Bug
An existing feature is broken
Bug Description
When uploading images, with the color type "Palette" or "PaletteAlpha", the plugin generates the full size-webp versions as an empty files (0 bytes). The resized versions are converted correctly. This results in images not being displayed to site visitors, as the .webp file is invalid.
Steps to Reproduce
Additional Notes
Converting the image to a different color type to sRGB before uploading resolves the issue for me.
Example
The text was updated successfully, but these errors were encountered: