Bug #5919
closedImprove image processing performance
100%
Description
Currently Imagine will make a copy of an image before doing copy, crop, resize, and thumbnail processing. This results in double the memory as the image data has to be filled in a new image resource. Specifically this is done below.
IN: libraries/CBLib/Imagine/Gd/Image.php
ON: Line 600 (function createImage)
Creating even an empty GD resource of large size results in large memory usage.
Updated by krileon almost 9 years ago
Review possibly library switch to the below.
Updated by beat almost 9 years ago
- Target version changed from CB 2.0.14 to CB 2.0.15
Updated by beat over 8 years ago
- Target version changed from CB 2.0.15 to CB 2.1
Updated by krileon over 8 years ago
Intervention maybe the better library. It's more maintained on GitHub, easier to use, faster, and has the same features Imagine does. Seams to possibly have same Imagick 7.x constant bug though.
Only CB Connect is using Imagine directly, but that's an easy fix.
Updated by krileon over 8 years ago
- Target version changed from CB 2.1 to CB 2.2
Updated by krileon almost 7 years ago
- Target version changed from CB 2.2 to CB 2.8
Updated by krileon over 6 years ago
- Status changed from Assigned to Rejected
- Priority changed from Normal to Low
- Target version deleted (
CB 2.8) - % Done changed from 0 to 100
Imagine has picked up development again and Client Side Resizing completely resolves these issues. Not worth the trouble trying to switch libraries.