Home
Home
Tutorials
   PHP
   Java
   Tutti...
Manuali
SmartImage
Marketing
Downloads
Contatti
Affiliati

  Da vedere
Hosting
Statistiche per siti
Corsi per webmaster
Hardware
Processori


  OnFocus
JDOM, file XML e Java: leggere e scrivere un file XML

Installare e configurare PHP e MySQL

JSON e PHP: Introduzione ed esempi

  Siti Amici
Miki News
Giochi gratis
Areagratis
Baratto Online
AI Machines
Guide e Manuali Gratis
Oceano Webmaster
Suonerie
Informazione & Servizi sul Forex
Carte di credito
Niente Ansia
devreference.org
Add to Technorati Favorites

Tutti i siti amici
Diventa Affiliato

 


SmartImage - php class      PHP smart and easy Image Manipulation
SmartImage is a free PHP class under LGPL licence.
With SmartImage you can easily:

  1. resize images (in order to do thumbnails)
  2. add a watermark to your images
  3. convert files from/to jpg, gif and png formats
  4. optimize jpg size and quality
  5. rotate
Do you like SmartImage? It was usefull for you?
DOWNLOAD SMARTIMAGE

Requirements:
  1. PHP >=4.0.1 or PHP >=5
  2. GD libraries 1 or GD2

New in SmartImage 0.9.6
  • now you can rotare images!
  • It can manage bigger images
  • There is a better error handling
  • Watermark with png images are better handled (please, read the comments)
  • It is faster!
  • only PHP 5 compatible (in the last version)

Some examples:
1. Original image: IMAGE 1024x768 (76,5 Kb)

2. Resize, cut and save with 85% of quality:
<?php
include "SmartImage.class.php";

$img = new SmartImage($src);
// Resize and save to file
// the true value means to cut the image
$img->resize(400220true);
$img->saveImage("newimages/new01.jpg"85);
?>


400x220 22,6 Kb

3. Resize, cut and save with 85% of quality + WaterMark:
<?php
include "SmartImage.class.php";

$img = new SmartImage($src);
// Resize and save to file
// the true value means to cut the image
$img->resize(400220true);
$img->addWaterMarkImage("images/smartimage.gif");
$img->saveImage("newimages/new03.jpg"85);
?>


400x220 24,3 Kb

4. Resize and save:
<?php
include "SmartImage.class.php";

$img = new SmartImage($src);
// Resize and save to file
// there isn't the true parameter (cut mode disabled)
$img->resize(12080);
$img->saveImage("newimages/new07.jpg"90);
?>


120x80 4,42 Kb

DOWNLOAD SMARTIMAGE
 
 VertoWeb - Aggregatore RSS - Etichettatrici - Mobile in stile - Codice Facile