PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Taha Paksu   GIF Animation Resizer   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Test & Example File
Class: GIF Animation Resizer
Resize animations in files of the GIF format
Author: By
Last change:
Date: 12 years ago
Size: 288 bytes
 

Contents

Class file image Download
<?php
require_once "gifresizer.php"; //Including our class
$gr = new gifresizer; //New Instance Of GIFResizer
$gr->temp_dir = "frames"; //Used for extracting GIF Animation Frames
$gr->resize("gifs/1.gif","resized/1_resized.gif",200,150); //Resizing the animation into a new file.
?>