PHP.nl

imagecreatefromxbm

imagecreatefromxbm

gd.image.new

 **imagecreatefromxbm** string $filename
returns an image identifier

representing the image obtained from the given filename. imagecreatefromxbm

filenamePath to the XBM image.

gd.return.identifier

**Voorbeeld: Convert an XBM image to a png image using **

<?php
// Load the xbm file
$xbm = imagecreatefromxbm('./example.xbm');

// Convert it to a png file
imagepng($xbm, './example.png');
?>