Query: imagecreatefromxbm
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IMAGECREATEFROMXBM(3) 1 IMAGECREATEFROMXBM(3) imagecreatefromxbm - Create a new image from file or URLSYNOPSISresource imagecreatefromxbm (string $filename)DESCRIPTIONimagecreatefromxbm(3) returns an image identifier representing the image obtained from the given filename. Tip A URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen(3) for more details on how to specify the filename. See the "Supported Protocols and Wrappers" for links to information about what abilities the various wrappers have, notes on their usage, and information on any predefined variables they may provide.PARAMETERSo $filename - Path to the XBM image.RETURN VALUESReturns an image resource identifier on success, FALSE on errors.EXAMPLESExample #1 Convert an XBM image to a png image using imagecreatefromxbm(3) <?php // Load the xbm file $xbm = imagecreatefromxbm('./example.xbm'); // Convert it to a png file imagepng($xbm, './example.png'); imagedestroy($xbm); ?>NOTESWarning Windows versions of PHP prior to PHP 4.3.0 do not support access of remote files via this function, even if allow_url_fopen is enabled. PHP Documentation Group IMAGECREATEFROMXBM(3)
Related Man Pages |
---|
imagecreatefrompng(3) - php |
imagexbm(3) - php |
imageflip(3) - php |
imagecreatefromgd2part(3) - php |
imagecreatefromjpeg(3) - php |
Similar Topics in the Unix Linux Community |
---|
coverting to xbm |
Get password protected URL folder using PHP fopen function |
matching image files to create one image |