欧美AV无码一区二区,麻豆+无码+国产在线+观看,欧美狂躁少妇XXXX高潮无码,美女扒开屁股让男人桶免费观看,极品粉嫩国产18尤物在线播放

imagecreatefrombmp

(PHP 7 >= 7.2.0, PHP 8)

imagecreatefrombmp由文件或 URL 創(chuàng )建一個(gè)新圖象。

說(shuō)明

imagecreatefrombmp(string $filename): GdImage|false

imagecreatefrombmp() returns an image identifier representing the image obtained from the given filename.

小技巧

如已啟用fopen 包裝器,在此函數中, URL 可作為文件名。關(guān)于如何指定文件名詳見(jiàn) fopen()。各種 wapper 的不同功能請參見(jiàn) 支持的協(xié)議和封裝協(xié)議,注意其用法及其可提供的預定義變量。

參數

filename

Path to the BMP image.

返回值

成功后返回圖象對象,失敗后返回 false。

更新日志

版本 說(shuō)明
8.0.0 On success, this function returns a GDImage instance now; previously, a resource was returned.

范例

示例 #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);
?>

欧美AV无码一区二区,麻豆+无码+国产在线+观看,欧美狂躁少妇XXXX高潮无码,美女扒开屁股让男人桶免费观看,极品粉嫩国产18尤物在线播放