Project

General

Profile

Actions

Bug #5919

closed

Improve image processing performance

Added by krileon about 8 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Target version:
-
Start date:
18 April 2016
Due date:
% Done:

100%

Estimated time:

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.

https://www.joomlapolis.com/forum/255-developer-members-support/233472-where-to-increase-memory-which-is-needed-for-upload

Actions #1

Updated by krileon about 8 years ago

Review possibly library switch to the below.

http://image.intervention.io/

Actions #2

Updated by beat almost 8 years ago

  • Target version changed from CB 2.0.14 to CB 2.0.15
Actions #3

Updated by beat over 7 years ago

  • Target version changed from CB 2.0.15 to CB 2.1
Actions #4

Updated by krileon over 7 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.

Actions #5

Updated by krileon over 7 years ago

  • Target version changed from CB 2.1 to CB 2.2
Actions #6

Updated by krileon almost 6 years ago

  • Target version changed from CB 2.2 to CB 2.8
Actions #7

Updated by krileon over 5 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.

Actions

Also available in: Atom PDF