#21481 closed defect (bug) (fixed)
Optimize image_resize to prevent re-opening image every time
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | bpetty |
Description
Found during discussion at WCSF:
image_resize() calls wp_load_image() which opens the image and loads it into memory. This can be optimized because image_resize() is called several times times.
Change History (6)
comment:2
markoheijnen — 10 months ago
- Keywords close added
I believe now that #6821 has been applied, this ticket can be closed.
Both image_resize() and wp_load_image() are now deprecated, and WP_Image_Editor::resize() makes use of a previously loaded image resource in both GD and ImageMagick implementations.
- Resolution set to fixed
- Status changed from new to closed
Fixed in #6821.
Note: See
TracTickets for help on using
tickets.

related to this ticket is all the work done in #6821