ai-admin-jqadm
ai-admin-jqadm copied to clipboard
Error while uploading the image
Environment
- Version (2022.07.2)
- Integration (Laravel)
- System (Windows)
Describe the bug While trying to upload image in the media tab it shows and error for some images.
To Reproduce Steps to reproduce the behavior:
- Go to 'catalog>products>'
- Click on 'product'
- Scroll down to 'media tab' and upload an picture (it happens for mostly for .png files)

Images are converted to WEBP format by default and there seems to be PNG features that are not supported by WEBP.
There seems to be a workaround when adding imagepalettetotruecolor() for GD.
Alternatively, installing php-imagick extension should fix the problem too.
You can try aimeos/aimeos-core:2022.07.x-dev which contains now the imagepalettetotruecolor() call.