Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Koken 0.8.2
  • ContentBox 1.5.2
  • jQPlayer 0.5.2
  • SPOILER ALERT! 0.0.2
  • jQuery Mask Plugin 0.9.0
  • Easing Slider 2.1.2
  • Btapp.js 0.2.0
  • WiiFlash 0.4.5
  • Breeze.js 1.3.3
  • TinyMCE Templates 3.0.2
  • Home > Scripts > PHP Classes

    Zebra_Image 2.2.2

    download button

    Downloads: 451  Tell us about an update
    User Rating:
    Rated by:
    Excellent (4.8/5)
    7 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Stefan Gabos | More scripts
    stefangabos.ro
    LGPL - GNU Lesser General Public License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    PHP
    September 3rd, 2012, 23:09 GMT [view history]
    C: \ PHP Classes

     Read user reviews (0)  Refer to a friend  Subscribe

    Zebra_Image description

    This is a PHP class for advanced image manipulation

    Zebra_Image is an advanced, compact (one-file only), lightweight, object-oriented image manipulation library written in and for PHP.

    It provides methods for performing several types of image manipulation operations.

    It doesn’t require any external libraries other than the GD2 extension (with which PHP usually comes pre-compiled with).

    Zebra_Image‘s code is heavily commented and generates no warnings/errors/notices when PHP’s error reporting level is set to E_ALL.

    With this library you can rescale, flip, rotate and crop images.

    Zebra_Image supports loading and saving images in the JPEG, GIF and PNG formats, while preserving transparency for PNG, GIF and PNG24.

    The class can also resize images to exact given width and height and still maintain aspect ratio.

    Requirements:

    · PHP 4.4.9 or higher

    What's New in This Release: [ read full changelog ]

    · A new property is now available: png_compression, which determines the compression level of PNG files; this value of this property is ignored for PHP versions older than 5.1.2;
    · A new property is now available: sharpen_images which, when enabled, will instruct the script to apply a “sharpen” filter to the resulting images; can be very useful when creating thumbnails but should be used only when creating thumbnails; the sharpen filter relies on PHP’s imageconvolution function which is available only for PHP version 5.1.0+, and will leave the images unaltered for older versions;
    · Added new cropping options: TOPCENTER, TOPRIGHT, MIDDLELEFT, MIDDLERIGHT, BOTTOMLEFT, BOTTOMCENTER, BOTTOMRIGHT;
    · Entire logic behind the resize method was rewritten;
    · Fixed a bug where the script would generate warnings if the chmod function was disabled via PHP configuration options; now it will not generate the warning but instead will set a value for the script’s error property;
    · Fixed a bug where if one would resize a transparent image and in the process would convert it to a JPEG (no transparency) and the resize method’s background_color argument was set to -1, the resulted image’s background color would be black; now it is white, as described in the documentation;



    TAGS:

    image manipulation | photo processing | aspect ration | image | manipulate | process

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM