Login   Register  
PHP Classes
elePHPant
Icontem

File: slice.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Huda M Elmatsani  >  Image Slicer  >  slice.php  >  Download  
File: slice.php
Role: Example script
Content type: text/plain
Description: image output
Class: Image Slicer
Generate HTML to present images divided in pieces
Author: By
Last change:
Date: 10 years ago
Size: 244 bytes
 

Contents

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

$picture $_GET[picture];
$pie $_GET[pie];
$hor $_GET[hor];
$ver $_GET[ver];

$slice = new Slicer();
$slice->set_picture($picture);
$slice->set_slicing($hor,$ver);
$slice->show_slice("jpg",$pie);
?>