Bug #79622 [NEW]: Imagewbmp outputs an white image with something incomprehensible.

From: Date: Sat, 23 May 2020 03:43:03 +0000
Subject: Bug #79622 [NEW]: Imagewbmp outputs an white image with something incomprehensible.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227133@lists.php.net to get a copy of this message
From: cretu dot andrei at zoho dot com Operating system: Windows 7, X64 PHP version: Irrelevant Package: *Graphics related Bug Type: Bug Bug description:Imagewbmp outputs an white image with something incomprehensible. Description: ------------ I'm using imagecreatefromjpeg to create an image from a source. Then I'm using imagewbmp to save it as .wbmp. The image saved is 98% white with a small portion black. Test script: --------------- $image_object = imagecreatefromjpeg('http://i.pinimg.com/originals/5b/97/49/5b9749c4db7066138b085b28a229801f.jpg'); imagewbmp($image_object, 'new_image.wbmp'); Expected result: ---------------- A black and white image. Actual result: -------------- I see an image allmost white... -- Edit bug report at https://bugs.php.net/bug.php?id=79622&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79622&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79622&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79622&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79622&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79622&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79622&r=support Expected behavior: https://bugs.php.net/fix.php?id=79622&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79622&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79622&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79622&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79622&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79622&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79622&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79622&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79622&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79622&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79622&r=mysqlcfg

« previous php.bugs (#227133) next »