Location: PHPKode > scripts > ScaleJPG > scalejpg/example3.php
<?php
include('class.ScaleJPG.inc');

// EXAMPLE 2
$s = new ScaleJPG();
$s->bar = 'yellow_neon.jpg';
$s->max = 6;
$s->value = 3.4;

header ("Content-type: image/jpeg"); 
echo $s->getImage();
?>
Return current item: ScaleJPG