[PHP-DEV] Bug #12349 Updated: Broken PNG image

2001-07-24 Thread andy

ID: 12349
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: GD related
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:

does this happen with jpgs or gifs (if you have support for
gifs)?

Previous Comments:


[2001-07-24 14:33:30] [EMAIL PROTECTED]

i have problem with create small copy of PNG transparent images:

Windows 98
apache 1.3.20
php 4.0.6

$s[1])
$z = $s[0]/60;
else
$z = $s[1]/60;
$x = (int)($s[0]/$z);
$y = (int)($s[1]/$z);
$dst_img = ImageCreate($x,$y);
$src_img = ImageCreateFromPNG("../img/test.png");
$colT = ImageColorAllocate($dst_img,0,255,0);
ImageFill($dst_img,0,0,$colT);
ImageCopyResized($dst_img,$src_img,0,0,0,0,$x,$y,$s[0],$s[1]);
ImageColorTransparent($dst_img,$colT);
ImagePNG($dst_img);
ImageDestroy($src_img);
ImageDestroy($dst_img);
?>

and i have broken fullcolored rectangle

BUT - with php 4.0.5 work all best





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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12349 Updated: Broken PNG image

2001-07-24 Thread design

ID: 12349
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: GD related
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:

No, only with PNG, with JPG format working fine,
and i dont install GIF support, only standart installation of PHP 4.0.6

And - i copy php_gd.dll from PHP 4.0.5 in to PHP 4.0.6 directory - CopyResized 
working, but some GD function not working - PHP crashed.

PS Sorry for bad english, im living in Ukraine and dont have big language practic

Previous Comments:


[2001-07-24 17:39:23] [EMAIL PROTECTED]

does this happen with jpgs or gifs (if you have support for
gifs)?



[2001-07-24 14:33:30] [EMAIL PROTECTED]

i have problem with create small copy of PNG transparent images:

Windows 98
apache 1.3.20
php 4.0.6

$s[1])
$z = $s[0]/60;
else
$z = $s[1]/60;
$x = (int)($s[0]/$z);
$y = (int)($s[1]/$z);
$dst_img = ImageCreate($x,$y);
$src_img = ImageCreateFromPNG("../img/test.png");
$colT = ImageColorAllocate($dst_img,0,255,0);
ImageFill($dst_img,0,0,$colT);
ImageCopyResized($dst_img,$src_img,0,0,0,0,$x,$y,$s[0],$s[1]);
ImageColorTransparent($dst_img,$colT);
ImagePNG($dst_img);
ImageDestroy($src_img);
ImageDestroy($dst_img);
?>

and i have broken fullcolored rectangle

BUT - with php 4.0.5 work all best





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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12349 Updated: Broken PNG image

2001-07-24 Thread andy

ID: 12349
Updated by: andy
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: GD related
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:

Which version of GD do you have?

Previous Comments:


[2001-07-24 21:43:36] [EMAIL PROTECTED]

No, only with PNG, with JPG format working fine,
and i dont install GIF support, only standart installation of PHP 4.0.6

And - i copy php_gd.dll from PHP 4.0.5 in to PHP 4.0.6 directory - CopyResized 
working, but some GD function not working - PHP crashed.

PS Sorry for bad english, im living in Ukraine and dont have big language practic



[2001-07-24 17:39:23] [EMAIL PROTECTED]

does this happen with jpgs or gifs (if you have support for
gifs)?



[2001-07-24 14:33:30] [EMAIL PROTECTED]

i have problem with create small copy of PNG transparent images:

Windows 98
apache 1.3.20
php 4.0.6

$s[1])
$z = $s[0]/60;
else
$z = $s[1]/60;
$x = (int)($s[0]/$z);
$y = (int)($s[1]/$z);
$dst_img = ImageCreate($x,$y);
$src_img = ImageCreateFromPNG("../img/test.png");
$colT = ImageColorAllocate($dst_img,0,255,0);
ImageFill($dst_img,0,0,$colT);
ImageCopyResized($dst_img,$src_img,0,0,0,0,$x,$y,$s[0],$s[1]);
ImageColorTransparent($dst_img,$colT);
ImagePNG($dst_img);
ImageDestroy($src_img);
ImageDestroy($dst_img);
?>

and i have broken fullcolored rectangle

BUT - with php 4.0.5 work all best





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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12349 Updated: Broken PNG image

2001-07-25 Thread design

ID: 12349
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: GD related
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:

I use standart version of PHP, downloaded from www.php.net

i think in PHP 4.0.5 and 4.0.6 used GD 1.8.4
but in PHP 4.0.6 ChangeLog file i see some GD 2.0.1 function

Previous Comments:


[2001-07-24 21:45:02] [EMAIL PROTECTED]

Which version of GD do you have?



[2001-07-24 21:43:36] [EMAIL PROTECTED]

No, only with PNG, with JPG format working fine,
and i dont install GIF support, only standart installation of PHP 4.0.6

And - i copy php_gd.dll from PHP 4.0.5 in to PHP 4.0.6 directory - CopyResized 
working, but some GD function not working - PHP crashed.

PS Sorry for bad english, im living in Ukraine and dont have big language practic



[2001-07-24 17:39:23] [EMAIL PROTECTED]

does this happen with jpgs or gifs (if you have support for
gifs)?



[2001-07-24 14:33:30] [EMAIL PROTECTED]

i have problem with create small copy of PNG transparent images:

Windows 98
apache 1.3.20
php 4.0.6

$s[1])
$z = $s[0]/60;
else
$z = $s[1]/60;
$x = (int)($s[0]/$z);
$y = (int)($s[1]/$z);
$dst_img = ImageCreate($x,$y);
$src_img = ImageCreateFromPNG("../img/test.png");
$colT = ImageColorAllocate($dst_img,0,255,0);
ImageFill($dst_img,0,0,$colT);
ImageCopyResized($dst_img,$src_img,0,0,0,0,$x,$y,$s[0],$s[1]);
ImageColorTransparent($dst_img,$colT);
ImagePNG($dst_img);
ImageDestroy($src_img);
ImageDestroy($dst_img);
?>

and i have broken fullcolored rectangle

BUT - with php 4.0.5 work all best





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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12349 Updated: Broken PNG image

2001-08-06 Thread sniper

ID: 12349
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: GD related
Operating System: Windows 98
PHP Version: 4.0.6
New Comment:

This is a bug in the GD-2.0.1 (beta) library.
Closed.

--Jani


Previous Comments:


[2001-07-25 03:47:46] [EMAIL PROTECTED]

I use standart version of PHP, downloaded from www.php.net

i think in PHP 4.0.5 and 4.0.6 used GD 1.8.4
but in PHP 4.0.6 ChangeLog file i see some GD 2.0.1 function



[2001-07-24 21:45:02] [EMAIL PROTECTED]

Which version of GD do you have?



[2001-07-24 21:43:36] [EMAIL PROTECTED]

No, only with PNG, with JPG format working fine,
and i dont install GIF support, only standart installation of PHP 4.0.6

And - i copy php_gd.dll from PHP 4.0.5 in to PHP 4.0.6 directory - CopyResized 
working, but some GD function not working - PHP crashed.

PS Sorry for bad english, im living in Ukraine and dont have big language practic



[2001-07-24 17:39:23] [EMAIL PROTECTED]

does this happen with jpgs or gifs (if you have support for
gifs)?



[2001-07-24 14:33:30] [EMAIL PROTECTED]

i have problem with create small copy of PNG transparent images:

Windows 98
apache 1.3.20
php 4.0.6

$s[1])
$z = $s[0]/60;
else
$z = $s[1]/60;
$x = (int)($s[0]/$z);
$y = (int)($s[1]/$z);
$dst_img = ImageCreate($x,$y);
$src_img = ImageCreateFromPNG("../img/test.png");
$colT = ImageColorAllocate($dst_img,0,255,0);
ImageFill($dst_img,0,0,$colT);
ImageCopyResized($dst_img,$src_img,0,0,0,0,$x,$y,$s[0],$s[1]);
ImageColorTransparent($dst_img,$colT);
ImagePNG($dst_img);
ImageDestroy($src_img);
ImageDestroy($dst_img);
?>

and i have broken fullcolored rectangle

BUT - with php 4.0.5 work all best





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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]