Bug Report #2373

Image_GD bundled checks are only required for some methods

Added by Woody Gilk over 5 years ago. Updated almost 2 years ago.

Status:ClosedStart date:11/24/2009
Priority:NormalDue date:
Assignee:Woody Gilk% Done:


Target version:v3.0.4
Resolution:fixed Points:


As per this thread the bundled checks for GD are only necessary for a few methods which use the following functions:

Checking imageantialias ... UNSUPPORTED
Checking imagecolormatch ... UNSUPPORTED
Checking imageconvolution ... UNSUPPORTED
Checking imagecreatefromxpm ... UNSUPPORTED
Checking imagefilter ... UNSUPPORTED
Checking imagelayereffect ... UNSUPPORTED
Checking imagerotate ... UNSUPPORTED
Checking imagexbm ... UNSUPPORTED

Image_GD should be updated to do the check upon initialization, but store the value of the bundled check, rather than throwing an exception.

Related issues

Related to Kohana v3.x - Bug Report #1980: Image library doesn't detect whether GD bundled PHP version Closed 08/22/2009

Associated revisions

Revision 37f0bf76
Added by Woody Gilk over 5 years ago

Allow Image_GD to be used with the non-bundled version of GD, throw exceptions in specific methods that use bundled GD functions, fixes #2373


#1 Updated by Woody Gilk over 5 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

#2 Updated by Bharat Mediratta almost 2 years ago

The forum post link has changed - it's now: http://forum.kohanaframework.org/discussion/4145

Also available in: Atom PDF