png2wbmp
(PHP 4 >= 4.0.5, PHP 5)
png2wbmp — Convert PNG image file to WBMP image file
說明
bool png2wbmp
( string $pngname
, string $wbmpname
, int $dest_height
, int $dest_width
, int $threshold
)
Converts a PNG file into a WBMP file.
參數
- pngname
-
Path to PNG file
- wbmpname
-
Path to destination WBMP file
- dest_height
-
Destination image height
- dest_width
-
Destination image width
- threshold
-
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。
註釋
Note: WBMP 支持僅在 PHP 與 GD-1.8 或更高版本一起編譯時可用。