note 13029 deleted from function.imagewbmp by felipe
| From: | felipe@php.net | Date: | Sat, 29 Dec 2007 20:59:59 +0000 |
| Subject: | note 13029 deleted from function.imagewbmp by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134219@lists.php.net to get a copy of this message | ||
Note Submitter: flapper at redcube dot nl
----
There is a hidden third parameter in the ImageWbmp function that serves as a threshold-holder. When
using the function as in:
ImageWbmp ($im, "test.wbmp");
it generates a warning:
Warning: imagewbmp: invalid threshold value '-1'. It must be between 0 and 255 in
blablabla
It does generate the image though but for a WML app. it cannot be used since the warning is laden
with HTML-tags. To prevent the warning use the following example:
ImageWbmp ($im, "test.wbmp", 0);
The warning is no longer generated.