[libGD] #85 [Task opened] gdImageCreateFromXpm() example is wrong
[email protected] (libGD) Sun, 13 May 2007 15:17:00 +0000
| Newsgroups | php.gd.bugs |
|---|---|
| Message-ID | <[email protected]> |
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Ángel Eduardo (Arcnor)
Attached to Project - libGD
Summary - gdImageCreateFromXpm() example is wrong
Task Type - Documentation
Category - Image Import/Export
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Very Low
Priority - Normal
Reported Version - 2.0.34
Due in Version - Undecided
Due Date - Undecided
Details - Hi!
Documentation is right (gdImageCreateFromXpm takes a filename, not a FILE pointer), but example shows loading through a FILE pointer.
Lines 4 & 5 should read:
im = gdImageCreateFromXpm("myxpm.xpm");
Also, registerin is disabled, so I can't change wiki. Do you did this on purpose?
Thanks!
More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=85
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.