imagecreatefrombmp
imagecreatefrombmp
gd.image.new
**imagecreatefrombmp** string $filename
returns an image identifier
representing the image obtained from the given filename.
imagecreatefrombmp
filenamePath to the BMP image.
gd.return.identifier
**Voorbeeld: Convert an BMP image to a PNG image using **
<?php
// Load the BMP file
$im = imagecreatefrombmp('./example.bmp');
// Convert it to a PNG file with default settings
imagepng($im, './example.png');
?>