ID:               33836
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bug_php at yahoo dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         *Graphics related
 Operating System: Linux RedHat 2.4.28
 PHP Version:      4.3.11
-Assigned To:      
+Assigned To:      pajoye
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Cannot reproduce, if you still have still problem, tell us if you use
the bundled GD (configure --with-gd, without path to any external gd).
Have tried with 5.1 and 4.4

--Pierre


Previous Comments:
------------------------------------------------------------------------

[2005-07-23 15:04:19] bug_php at yahoo dot fr

Description:
------------
See PHP info on http://720plan.ovh.net/test.php (PHP version is 4.3.11
as of 2005/07/23).

Bug  similar to the problem exposed in closed bug report #26254.

The code below results in an image that is 1 pixel too small: there is
a blank range of pixels. According to the destination image width and
height, this range of pixels can be vertical, horizontal, or both. The
code below is for a 640*480 image destination. But the same happens for
a 40*40 image for instance. This problem occurs with any image and
number of pixels I tried. The only case it works: when the image
destination has the same size thant the source image.

Reproduce code:
---------------
<html>
<body bgcolor="green">
<?
$image_source_filename="bar.jpg"; //image 230*173px
$image_cible_filename="bar.gif";
$ImgSrc = imagecreatefromjpeg ($image_source_filename);
imagetruecolortopalette($ImgSrc, false, 256);
$ImgDst = imagecreate(640,480);
imagecolorallocate($ImgDst, 255, 255, 255);
imagecopyresized($ImgDst,$ImgSrc,0,0,0,0,640,480,230,173);
imagegif ($ImgDst,$image_cible_filename);
echo("<br><br><font color=\"white\">Resized image=</font><br><img
src=\"$image_cible_filename\"><br>");
?>
</body>
</html>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33836&edit=1

Reply via email to