Skip to content

Fixes palette-based PNG uploads failing original full-size AVIF/WebP conversion under GD #2024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: trunk
Choose a base branch
from

Improve PNG type checking

7443e68
Select commit
Loading
Failed to load commit list.
Open

Fixes palette-based PNG uploads failing original full-size AVIF/WebP conversion under GD #2024

Improve PNG type checking
7443e68
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 10, 2025 in 0s

74.19% of diff hit (target 68.06%)

View this Pull Request on Codecov

74.19% of diff hit (target 68.06%)

Annotations

Check warning on line 820 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L820

Added line #L820 was not covered by tests

Check warning on line 823 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L823

Added line #L823 was not covered by tests

Check warning on line 830 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L829-L830

Added lines #L829 - L830 were not covered by tests

Check warning on line 836 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L836

Added line #L836 was not covered by tests

Check warning on line 849 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L849

Added line #L849 was not covered by tests

Check warning on line 871 in plugins/webp-uploads/hooks.php

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/webp-uploads/hooks.php#L870-L871

Added lines #L870 - L871 were not covered by tests