PHP Classes

File: imageTest.php

Recommend this page to a friend!
  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: 14 years ago
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!!";
?>

For more information send a message to info at phpclasses dot org.