jpeg2wbmp
PHP 4 >= 4.0.5, PHP 5, PHP 7
jpeg2wbmp - Convert JPEG image file to WBMP image file
Manual
jpeg2wbmp(
string$jpegname,
string$wbmpname,
int$dest_height,
int$dest_width,
int$threshold
): bool
string$jpegname,
string$wbmpname,
int$dest_height,
int$dest_width,
int$threshold
): bool
Converts a JPEG file into a WBMP file.
Parameters
- jpegname
-
Path to JPEG file.
- wbmpname
-
Path to destination WBMP file.
- dest_height
-
Destination image height.
- dest_width
-
Destination image width.
- threshold
-
Threshold value, between 0 and 8 (inclusive).
Return Values
Returns true on success or false on failure.
Caution:
However, if libgd fails to output the image, this function returns true.