ImageTools

User Documentation: Examples: Effects

Wave

Example Code
HTML <img alt="My plaind image" src="?image=images/plain.jpg&plain=30|green" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->plain("30", "green");
$vif->processimage();
?>
Example Images
Processed Image Original Image

Swirl

Example Code
HTML <img alt="My swirled image" src="?image=images/plain.jpg&swirl=300" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->swirl("300");
$vif->processimage();
?>
Example Images
Processed Image Original Image

Shear

Example Code
HTML <img alt="My sheared image" src="?image=images/plain.jpg&shear=30|green" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->shear("30", "green");
$vif->processimage();
?>
Example Images
Processed Image Original Image

Grayscale

Example Code
HTML <img alt="My grayscaled image" src="?image=images/plain.jpg&grayscale" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->grayscale();
$vif->processimage();
?>
Example Images
Processed Image Original Image

Invert

Example Code
HTML <img alt="My inverted image" src="?image=images/plain.jpg&invert" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->invert();
$vif->processimage();
?>
Example Images
Processed Image Original Image

Sepia

Example Code
HTML <img alt="My sepia image" src="?image=images/plain.jpg&sepia" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->sepia();
$vif->processimage();
?>
Example Images
Processed Image Original Image

Colorize

Example Code
HTML <img alt="My colorized image" src="?image=images/plain.jpg&colorize=green" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->colorize("green");
$vif->processimage();
?>
Example Images
Processed Image Original Image

Tint

Example Code
HTML <img alt="My tinted image" src="?image=images/plain.jpg&tint=green" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->tint("green");
$vif->processimage();
?>
Example Images
Processed Image Original Image

Brightness

Example Code
HTML <img alt="My brightened image" src="?image=images/plain.jpg&brightness=30" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->brightness("30");
$vif->processimage();
?>
Example Images
Processed Image Original Image

Contrast

Example Code
HTML <img alt="My contrasted image" src="?image=images/plain.jpg&contrast=30" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->contrast("30");
$vif->processimage();
?>
Example Images
Processed Image Original Image

Sharpen

Example Code
HTML <img alt="My sharpened image" src="?image=images/plain.jpg&sharpen" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->sharpen();
$vif->processimage();
?>
Example Images
Processed Image Original Image

Sharpen More

Example Code
HTML <img alt="My more sharpened image" src="?image=images/plain.jpg&sharpenmore" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->sharpenmore();
$vif->processimage();
?>
Example Images
Processed Image Original Image

Blur

Example Code
HTML <img alt="My blurred image" src="?image=images/plain.jpg&blur" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->blur();
$vif->processimage();
?>
Example Images
Processed Image Original Image

Blur More

Example Code
HTML <img alt="My more blurred image" src="?image=images/plain.jpg&blurmore" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->blurmore();
$vif->processimage();
?>
Example Images
Processed Image Original Image

Rotate

Example Code
HTML <img alt="My rotated image" src="?image=images/plain.jpg&rotate=30|green" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->rotate("30", "green");
$vif->processimage();
?>
Example Images
Processed Image Original Image

Flop

Example Code
HTML <img alt="My flopped image" src="?image=images/plain.jpg&flop" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->flop();
$vif->processimage();
?>
Example Images
Processed Image Original Image

Flip

Example Code
HTML <img alt="My flipped image" src="?image=images/plain.jpg&flip" />
PHP <?php
include("class.php");
$vif->image("images/plain.jpg");
$vif->flip();
$vif->processimage();
?>
Example Images
Processed Image Original Image