PASSPORT OF CLASS
Name: GIF_eXG Current version: 1.081 Appointment: resize gif image file with support animation and transparency Features: fast, stable and correct work with most files, ease of use
History of modification:
1.081 small code fix
Author: Yuriy Khomenko Year of development: 2013 Country: Ukraine
Developed and test:
OS Windows/Linux
Attention and comment:
i will be glad if you class will come in handy
How to use: 1) require_once "gif_exg.php"; - include a library file
2) $nGif = new GIF_eXG($source_file,$opt); - create an instance of the class
3) $nGif->resize($dest_file,$new_width,$new_height,$symmetry,$resampled); - public function for changing the size of (returns NULL on failure)
Example:
require_once "gif_exg.php"; $nGif = new GIF_eXG("../image/src.gif",1); $nGif->resize("../image/dst1.gif",180,180,1,1); $nGif->resize("../image/dst2.gif",150,150,0,1);