[cvs] commit: framework/Image Image.php framework/Image/Image gd.php im.php

Michael Rubinsky mike at theupstairsroom.com
Wed Oct 17 15:04:24 UTC 2007


mrubinsk    2007-10-17 11:04:24 EDT

  Modified files:
    Image                Image.php 
    Image/Image          gd.php im.php 
  Log:
  More efficient handling of getting image dimensions:
  
  - Override getDimensions() in im.php to make use of imagick library (avoids need for temporary file) - fall back to parent if no imagick.
  
  - Populate instance variables when we obtain dimensions, clear them when we perform operations that might change them, and check them before attempting to calculate it again.
  
  Revision  Changes    Path
  1.56      +20 -6     framework/Image/Image.php
  1.68      +23 -5     framework/Image/Image/gd.php
  1.80      +41 -1     framework/Image/Image/im.php

  Chora Links:
  http://cvs.horde.org/diff.php/framework/Image/Image.php?r1=1.55&r2=1.56&ty=u
  http://cvs.horde.org/diff.php/framework/Image/Image/gd.php?r1=1.67&r2=1.68&ty=u
  http://cvs.horde.org/diff.php/framework/Image/Image/im.php?r1=1.79&r2=1.80&ty=u


More information about the cvs mailing list