Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.5

Request #2354 save() should return TRUE/FALSE
Submitted: 2004-09-17 13:17 UTC
From: powtac at gmx dot de Assigned:
Status: Bogus Package: Image_Transform
PHP Version: 5.0.1 OS: Win 2000
Roadmaps: (Not assigned)    
Subscription  


 [2004-09-17 13:17 UTC] powtac at gmx dot de
Description: ------------ It would be nice it the save()-function of Image_Transform_Driver_GD and Image_Transform_Driver_Imagick and ... returns bool(TRUE) on success and bool(FLASE) for fails. Reproduce code: --------------- require_once("Image/Transform.php"); $Pic=&Image_Transform::factory("GD"); $Pic->load('normal.jpg'); $Pic->scaleByLength(100); vardump($Pic->save('test.jpg')); Expected result: ---------------- TRUE / FALSE Actual result: -------------- NULL

Comments

 [2004-09-17 13:19 UTC] powtac at gmx dot de
Last line in "Reproduce code" should be: var_dump($Pic->save('test.jpg'));
 [2004-09-20 14:31 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!