PHP Classes

File: sample.php

Recommend this page to a friend!
  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: 14 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);
?>