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

Bug #14243 JPEG output format doesn't seems to works
Submitted: 2008-06-26 10:11 UTC
From: neokod Assigned:
Status: No Feedback Package: Image_Tools (version 1.0.0RC1)
PHP Version: 5.2.4 OS: Ubuntu Hardy
Roadmaps: (Not assigned)    
Subscription  


 [2008-06-26 10:11 UTC] neokod (Guillaume Lecanu)
Description: ------------ Hi, I love your package, it's working fine for PNG, but this doesn't seems to works for JPEG format. Test script: --------------- <?php include_once 'Image/Tools.php'; include_once 'Image/Tools/Thumbnail.php'; $thumb =& Image_Tools::factory('Thumbnail', array( 'image' => 'input.jpg', 'width' => 100, )); $thumb->save('output.jpg', IMAGETYPE_JPEG); ?> ?> Expected result: ---------------- A generated JPG file. Actual result: -------------- Doesn't create the JPG file. If we remove IMAGETYPE_JPEG, or put IMAGETYPE_PNG, this works for the PNG.

Comments

 [2008-07-26 13:47 UTC] doconnor (Daniel O'Connor)
Hi Guillaume, I don't suppose you have some sample JPGs around for this test case?
 [2009-01-01 12:16 UTC] firman (Firman Wandayandi)
Please try out the demo, there are two jpeg files we used. We can't figure out the bug if we don't have the example of it.