php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14124 ImageFilledRectangle x1,y1,x2,y2 issue
Submitted: 2001-11-19 17:28 UTC Modified: 2001-11-19 19:01 UTC
From: philip at adhesivemedia dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.0.6 OS: FreeBSD 4.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: philip at adhesivemedia dot com
New email:
PHP Version: OS:

 

 [2001-11-19 17:28 UTC] philip at adhesivemedia dot com
I am actually using 4.0.7-dev (200108291635 snapshot) with GD 1.8.4.

Both ImageRectangle and ImageFilledRectangle say that x1,y1 is the top left corner and x2,y2 is the bottom right corner.

ImageRectangle will still draw if you swap these around, but ImageFilledRectangle will not.

Granted, if I follow the manual it's not a problem, but I thought you'd want to know that one is more "flexible" than the other...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-19 19:01 UTC] sniper@php.net
PHP only has wrappers for these two functions,
gdImageFilledRectangle() and imagerectangle() thus
it can not be PHP bug (code for both is identical except for 
the called GD library function)

Please report this to the GD library author. 
You might wanna try GD 2.0.1 before doing that though..

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 08:01:29 2024 UTC