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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Sat Apr 20 04:01:28 2024 UTC