png2wbmp
(PHP 4 >= 4.0.5, PHP 5)
png2wbmp — PNG イメージファイルから WBMP イメージファイルに変換する
説明
bool png2wbmp
( string $pngname
, string $wbmpname
, int $dest_height
, int $dest_width
, int $threshold
)
PNG ファイルを WBMP ファイルに変換します。
パラメータ
- pngname
-
PNG ファイルへのパス。
- wbmpname
-
変換後の WBMP ファイルへのパス。
- dest_height
-
変換後の画像の高さ。
- dest_width
-
変換後の画像の幅。
- threshold
-
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
注意
注意: WBMP サポートは、 PHP が GD-1.8 か、それ以降に対して、コンパイルされている場合のみ使用可能です。