Login   Register  
PHP Classes
elePHPant
Icontem

File: imageTest.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Germano  >  Merge Pictures  >  imageTest.php  >  Download  
File: imageTest.php
Role: Example script
Content type: text/plain
Description: example of mergePicture class use
Class: Merge Pictures
Generate an image from the combination of 2 images
Author: By
Last change:
Date: 2007-06-02 13:41
Size: 325 bytes
 

Contents

Class file image Download
<?
include("mergePictures.php");

$f1 "im1.jpg";
$f2 "im2.jpg";


$imagem = new mergePictures($f1,$f2);


$imagem->merge("up");
$imagem->save("imgs","foto3","jpg");

$imagem->merge("down");
$imagem->save("imgs","foto2","bmp");

$imagem->over();
$imagem->save("imgs","foto1","gif");

echo 
"works!!";
?>