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

 ID:                 29315
 Comment by:         vlastimil dot miler at gmail dot com
 Reported by:        k at ailis dot de
 Summary:            Bug in imagecopyresampled
 Status:             Bogus
 Type:               Bug
 Package:            GD related
 Operating System:   Linux
 PHP Version:        4.3.8
 Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

Not a bug? You must be joking. When given completely transparent image,
the result is not completely transparent image. It cannot deal with a
simplest of cases correctly.



It may be a limitation of the used algorithm for a gd developer, but it
is a bug for the end user.



You can claim that white is just a very bright black, but I still see it
as white.


Previous Comments:
------------------------------------------------------------------------
[2004-11-19 14:22:52] [email protected]

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Side effect of the resizing method in imagecopyresampled.



Cannot be "fixed".



ImageCopyResamples is not good for each kind of images but is not that
bad for a "all-in-one" usage.



--Pierre

------------------------------------------------------------------------
[2004-07-27 15:52:11] k at ailis dot de

No. I've downloaded and opened your bug.png with GIMP and 

I still see blue snow around the second line. So the bug 

is still there. 

 

You must use a viewer which can display alpha-transparency 

like GIMP, ImageMagick or a capable browser like Mozilla 

to see the bug.

------------------------------------------------------------------------
[2004-07-27 15:36:52] [email protected]

http://tony2004.phpclub.net/dev/tmp/bug.png - is this what you need?

If yes - please, try the next CVS snapshot, it should be fixed now.

------------------------------------------------------------------------
[2004-07-23 09:26:02] k at ailis dot de

I've installed this snapshot, The bug is still present. 

Here is the output of gd_info(): 

 

array(11) { 

  ["GD Version"]=> 

  string(27) "bundled (2.0.28 compatible)" 

  ["FreeType Support"]=> 

  bool(true) 

  ["FreeType Linkage"]=> 

  string(13) "with freetype" 

  ["T1Lib Support"]=> 

  bool(true) 

  ["GIF Read Support"]=> 

  bool(true) 

  ["GIF Create Support"]=> 

  bool(true) 

  ["JPG Support"]=> 

  bool(true) 

  ["PNG Support"]=> 

  bool(true) 

  ["WBMP Support"]=> 

  bool(true) 

  ["XBM Support"]=> 

  bool(true) 

  ["JIS-mapped Japanese Font Support"]=> 

  bool(true) 

}

------------------------------------------------------------------------
[2004-07-23 01:10:28] [email protected]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=29315


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

Reply via email to