Help need!

From: Date: Mon, 17 Dec 2001 14:10:35 +0000
Subject: Help need!
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-22594@lists.php.net to get a copy of this message
There is a problem by the example above in PHP4 under Windows. First of all, the header has to be: header ("Content-type: ".image_type_to_mime_type (IMAGETYPE_WBMP)); The second, I do not understand why this don't work: <?php $file = 'tasa.jpg'; header ("Content-type: ".image_type_to_mime_type (IMAGETYPE_WBMP)); image2wbmp($file); ?> by reporting: "image2wbmp(): supplied argument is not a valid Image resource"!? This is working correctly: <?php $file = 'tasa.jpg'; jpeg2wbmp($file,"tasa.wbmp",199,180,4); ?> NOTE: int threshold is value from 0 to 8. If you want to get a wbmp picture with details, than you need to discover int threshold value by trying. Ivan Dermanov, dermanoff@beotel.yu 17.dec.2003. Belgrade,

« previous php.mirrors (#22594) next »