PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Text » Bug #1203

mega bug summary / with some wishes :)

Details

Submitted2004-04-14 06:07 UTC
Fromalan at akkbhome dot com
Assignedtoby
StatusClosed
PackageImage_Text
PHP Version4.3.3
OSlinux
Roadmaps(Not assigned)

Comments

[2004-04-14 06:07 UTC] alan at akkbhome dot com

Description:
------------
Constructor:
would be better to use:
- $img = Image::construct($options);
rather than
$img = new ...
$img->init();

Options:
- var $options could do with additial comments
(eg. example values.)
- options['canvas'] = filename = autoload the file...
- the options[colors] array needs explaining
- default value of color causes e_Warning error. should be: array('#000000'),
- optons['font_path']
should note it must explicty end with a directory seperator. eg. /xxx/yyy/
(or note that it auto adds it.. in set..)
- no default for image_type is used.

Display
- error rasied after sending headers if no image type set.. in display.
save
- save does not appear to have an $imgout set anywhere

[2004-04-14 06:13 UTC] alan at akkbhome dot com

defines for middle/center etc. are redundant, expensive (albiet not an issue here - as it will be slow anyway) and rather pointless.

[2004-04-14 06:22 UTC] alan at akkbhome dot com

bugger - my email address is incorrect. on the report - can you email me directly when you fix it.. alan at akbkhome dot com.