Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/resize.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nicholas Oliveira  >  Image Wrapper  >  examples/resize.php  >  Download  
File: examples/resize.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Image Wrapper
Crop and resize PNG, JPEG and GIF images
Author: By
Last change:
Date: 0 years ago
Size: 220 bytes
 

Contents

Class file image Download
<?php

include("../cbImage.php");
include(
"../ImageResizer.class.php");
$c = new Image("cars.jpg");
$r = new ImageResizer($c);

//print_r($c->getType());


//$r->scalePercentage(80);
$r->Resize(320,200);
$r->show();


?>