[wp-trac] [WordPress Trac] #65188: Uploading PNG images with a larger number of colors causes timeouts and eventually CPU starvation
WordPress Trac
noreply at wordpress.org
Thu May 7 10:24:18 UTC 2026
#65188: Uploading PNG images with a larger number of colors causes timeouts and
eventually CPU starvation
---------------------------+------------------------------
Reporter: romainmrhenry | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version: 6.8
Severity: normal | Resolution:
Keywords: | Focuses: performance
---------------------------+------------------------------
Comment (by siliconforks):
Replying to [ticket:65188 romainmrhenry]:
> Uploading a png image with a large number of colors, for example a
photographic image in .png format, causes the `getImageColors()` step at
line 506 to be extremely slow.
You're using version 6.8? This is a known issue in 6.8. See
https://core.trac.wordpress.org/ticket/63481#comment:5
Can you update to version 6.9?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65188#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list