jpeg2wbmp
(PHP 4 >= 4.0.5, PHP 5)
jpeg2wbmp — Convert JPEG image file to WBMP image file
說明
bool jpeg2wbmp
( string $jpegname
, string $wbmpname
, int $dest_height
, int $dest_width
, int $threshold
)
Converts a JPEG file into a WBMP file.
參數
- jpegname
-
Path to JPEG 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 或更高版本一起編譯時可用。
Note: JPEG 支持僅在 PHP 與 GD-1.8 或更高版本一起編譯時可用。