php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #22648 Docs for imagegd2 are wrong
Submitted: 2003-03-11 21:50 UTC Modified: 2003-03-11 22:32 UTC
From: swbrown at ucsd dot edu Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.3.1 OS: any
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: swbrown at ucsd dot edu
New email:
PHP Version: OS:

 

 [2003-03-11 21:50 UTC] swbrown at ucsd dot edu
imagegd2's type param is an int, not a string.  The values are 1 for raw and 2 for compressed.  The note also is wrong, as type+chunk were broken in 4.3.1.  bug #22645 and bug #22646 will fix it.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-11 22:32 UTC] sniper@php.net
Fixed. I added also constants IMG_GD2_RAW and IMG_GD2_COMPRESSED. Just in case the gd folks would define
them to something else than 1 and 2.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 11:01:33 2025 UTC