(PHP 7 >= 7.2.0)
imagecreatefrombmp — ���ļ��� URL ����һ����ͼ��
$filename
) : resourceimagecreatefrombmp() returns an image identifier representing the image obtained from the given filename.
��������fopen ��װ�����ڴ˺����У� URL ����Ϊ�ļ������������ָ���ļ������ fopen()������ wapper �IJ�ͬ������μ� ֧�ֵ�Э��ͷ�װЭ����ע�����÷�������ṩ��Ԥ���������
filename
Path to the BMP image.
�ɹ���ͼ����Դ,ʧ�ܺ� FALSE
��
Example #1 Convert an BMP image to a PNG image using imagecreatefrombmp()
<?php
// Load the BMP file
$im = imagecreatefrombmp('./example.bmp');
// Convert it to a PNG file with default settings
imagepng($im, './example.png');
imagedestroy($im);
?>