Changes between Initial Version and Version 1 of Ticket #63773
- Timestamp:
- 07/31/2025 04:56:53 PM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #63773 – Description
initial v1 1 When uploading a palette based PNG image and attempting to use core's `image_editor_output_format` to output WebP or AVIF images, conversion fails with a fatal error when using GD. GD cannot convert palette-based PNG to WebP/AVIF formats so to fix the issue, a palette image is first converted to truecolor (`imagepalettetotruecolor`). Testing shows the fatalis resolved and the resulting images are still significantly smaller than their PNG counterparts.1 When uploading a palette based PNG image and attempting to use core's `image_editor_output_format` to output WebP or AVIF images, conversion fails with a PHP error when using GD. GD cannot convert palette-based PNG to WebP/AVIF formats so to fix the issue, a palette image is first converted to truecolor (`imagepalettetotruecolor`). Testing shows the PHP error is resolved and the resulting images are still significantly smaller than their PNG counterparts. 2 2 3 3