[commits] Horde branch master updated. 5dcae2cd2543b6c29aac1690c4f5e15af6b9fe26

Michael Rubinsky mike at theupstairsroom.com
Sun Feb 14 21:54:16 UTC 2010


The branch "master" has been updated.
The following is a summary of the commits.

from: 0e41a576f6283cb8e9b0bf2f0ee35ebf739e8396

4769c84 (finally) update horde's config to reflect new Horde_Image driver structure
5dcae2c Complete implementation of Iterator support in Horde_Image.

-----------------------------------------------------------------------

commit 4769c84d43d75725f44d409e1c862ca3ea44ed0e
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date:   Sun Feb 14 16:48:32 2010 -0500

    (finally) update horde's config to reflect new Horde_Image driver structure

 ansel/faces/search/image.php      |    1 -
 ansel/faces/search/image_save.php |    1 -
 ansel/lib/Ansel.php               |    5 +++--
 folks/lib/Driver.php              |    3 ++-
 horde/config/conf.xml             |   17 +++++++++--------
 horde/services/images/view.php    |    6 +++---
 news/lib/News.php                 |    3 ++-
 7 files changed, 19 insertions(+), 17 deletions(-)

http://git.horde.org/diff.php/ansel/faces/search/image.php?rt=horde-git&r1=4d249a3af4faea6509fe8da806264dd5d87ab4e5&r2=4769c84d43d75725f44d409e1c862ca3ea44ed0e
http://git.horde.org/diff.php/ansel/faces/search/image_save.php?rt=horde-git&r1=4d249a3af4faea6509fe8da806264dd5d87ab4e5&r2=4769c84d43d75725f44d409e1c862ca3ea44ed0e
http://git.horde.org/diff.php/ansel/lib/Ansel.php?rt=horde-git&r1=9f529bff639f1cafde6bae97fa3d6c7ee0112bce&r2=4769c84d43d75725f44d409e1c862ca3ea44ed0e
http://git.horde.org/diff.php/folks/lib/Driver.php?rt=horde-git&r1=db011a2a40263b0bddcc42b1071f52a1e1bd2a83&r2=4769c84d43d75725f44d409e1c862ca3ea44ed0e
http://git.horde.org/diff.php/horde/config/conf.xml?rt=horde-git&r1=57382eb8367721a68232b41e2e702b11c5ccf367&r2=4769c84d43d75725f44d409e1c862ca3ea44ed0e
http://git.horde.org/diff.php/horde/services/images/view.php?rt=horde-git&r1=816de6bba043dea3d9d741edbd9fda40bee7ea08&r2=4769c84d43d75725f44d409e1c862ca3ea44ed0e
http://git.horde.org/diff.php/news/lib/News.php?rt=horde-git&r1=4d249a3af4faea6509fe8da806264dd5d87ab4e5&r2=4769c84d43d75725f44d409e1c862ca3ea44ed0e

-----------------------------------------------------------------------

commit 5dcae2cd2543b6c29aac1690c4f5e15af6b9fe26
Author: Michael J. Rubinsky <mrubinsk at horde.org>
Date:   Sun Feb 14 16:49:13 2010 -0500

    Complete implementation of Iterator support in Horde_Image.
    
    This works in Imagemagick and Imagick only. GD will always return a clone of itself;
    (GD doesn't support TIFF or PDF, and has no native methods for obtaining individual pages from GIF)
    
    Multipage images (TIFF, GIF, PDF etc...) can now be either iterated as so:
    
    <code>
    // $original Image contains a multipage image
    foreach($original as $page) {
      // $page is a Horde_Image object representing the single page
    }
    </code>
    
    or individually select the page as so:
    
    <code>
    $page = $original->getImageAtIndex($pageNumber);
    </code>
    
    Horde_Image_Base#getImagePageCount returns the total number of pages.

 framework/Image/lib/Horde/Image/Base.php    |   54 +++++-----
 framework/Image/lib/Horde/Image/Gd.php      |   64 +++++++++++
 framework/Image/lib/Horde/Image/Im.php      |  153 ++++++++++++++++++++++++++-
 framework/Image/lib/Horde/Image/Imagick.php |   44 +++++++-
 4 files changed, 277 insertions(+), 38 deletions(-)

http://git.horde.org/diff.php/framework/Image/lib/Horde/Image/Base.php?rt=horde-git&r1=9191d616a5a2526646eb3a15e68c553deab8ff58&r2=5dcae2cd2543b6c29aac1690c4f5e15af6b9fe26
http://git.horde.org/diff.php/framework/Image/lib/Horde/Image/Gd.php?rt=horde-git&r1=4d249a3af4faea6509fe8da806264dd5d87ab4e5&r2=5dcae2cd2543b6c29aac1690c4f5e15af6b9fe26
http://git.horde.org/diff.php/framework/Image/lib/Horde/Image/Im.php?rt=horde-git&r1=a061a21484483b2af2ba35b57c2a3dd8675cd65d&r2=5dcae2cd2543b6c29aac1690c4f5e15af6b9fe26
http://git.horde.org/diff.php/framework/Image/lib/Horde/Image/Imagick.php?rt=horde-git&r1=9191d616a5a2526646eb3a15e68c553deab8ff58&r2=5dcae2cd2543b6c29aac1690c4f5e15af6b9fe26




More information about the commits mailing list