ImageTools

User Documentation: Examples: General

Example Code
HTML <img alt="My image" src="?image=[image]" />
PHP <?php
include("class.php");
$vif->image("[image]");
$vif->processimage();
?>
Example Images
Processed Image Original Image
Standard Image (JPG) "images/plain.jpg" Try out other example images

Reformatting

Example Code
HTML <img alt="My reformatted image" src="?image=[image]&format=[format]" />
PHP <?php
include("class.php");
$vif->image("[image]");
$vif->format("[format]");
$vif->processimage();
?>
Example Images
Processed Image Original Image
JPG Format "jpg"
JPG
GIF
GIF Animation
PNG-8
PNG-24
BMP
GIF Format "gif"
JPG
GIF
GIF Animation
PNG-8
PNG-24
BMP
PNG Format "png"
JPG
GIF
GIF Animation
PNG-8
PNG-24
BMP
BMP Format "bmp"
JPG
GIF
GIF Animation
PNG-8
PNG-24
BMP