Login   Register  
PHP Classes
elePHPant
Icontem

File: sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of mehmet emin akyüz  >  BMP2GD  >  sample.php  >  Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: A sample to demonstrate the usage of BMP2GD
Class: BMP2GD
Convert images in the BMP format
Author: By
Last change:
Date: 4 years ago
Size: 155 bytes
 

Contents

Class file image Download
<?php
    
require_once dirname(__FILE__).'/bmp2gd.php';
    
    
$image BMP2GD::createFromBMP("test.bmp");
    
imagepng($image,"test.png");
    
imagedestroy($image);
?>