Image_Canvas pear.php.net A package providing a common interface to image drawing, making image source code independent on the library used. A package providing a common interface to image drawing, making image source code independent on the library used. Jesper Veggerby nosey pear.nosey@veggerby.dk yes 2009-08-18 0.3.2 0.3.2 alpha alpha LGPL QA Release. * Fixed Bug #12064 "Updated all @link to official url (thanks to Torsten Roehr)" * Fixed Bug #12084 "Set wrong fill color in PDF.php, SVG.php (thanks to Torsten Roehr)" * Fixed Bug #12122 "Added new driver for SWF output (thanks to Torsten Roehr)" * Fixed Bug #12744 "Used shape poly instead of polygon in ImageMap (Uwe Steinmann)" * Fixed Bug #12745 "Make area tag xhtml compliant, added missing '/' (thanks to Christian Weiske)" * Fixed Bug #12746 "Make img tag xhtml compliant, added missing '/' (thanks to Christian Weiske)" * Fixed Bug #12747 "Added attribute id to map tag (Uwe Steinmann)" * Fixed Bug #14199 "Added new driver for PostScript output" 4.3.0 1.8.1 Image_Color pear.php.net 1.0.0 gd 0.1.0 0.1.0 devel devel 2005-03-21 LGPL First PEPr release 0.1.1 0.1.1 devel devel 2005-03-21 LGPL First PEPr release 0.1.2 0.1.2 devel devel 2005-07-21 LGPL * Changed write() to addText() * Split done() into show() and save() * Changed all methods with more than 1 parameter to use hashed array as parameters 0.2.0 0.2.0 alpha alpha 2005-08-01 LGPL First released package in PEAR Changes since last PEPr release: * Added support for image maps - a separate canvas (Image_Canvas_ImageMap) has been created to accomplish this * Added support for antialiasing images when using GD (both using native GD method and Image_Graph own implementation) * Added support for multi line texts * Added a toHtml() method for to easy facilitate including canvas in HTML (this includes the associated image map, if any) * Added line ends - only supported in GD canvases currently and not on polygons (yet!) 0.2.1 0.2.1 alpha alpha 2005-08-08 LGPL * Added Request #4997 "HTML attributes and JS actions in imagemaps" - using 'htmltags' entry * Fixed bug with fonts, now it's not required for the font to have a name * Changed examples to use require_once instead of include/require 0.2.2 0.2.2 alpha alpha 2005-09-30 LGPL * Added 'border' and 'cssclass' option to Image_Canvas_GD::toHtml() * Added image support when using SVG (using embedded base64 encoding) * Added link ("imagemap") support with SVG * Made image loading in GD canvas use getimagesize() to determine type instead of relying on extension * Fixed bug where 'htmltags' were not transferred to image mapping of polygon vertices * Fixed bug in SVG where pie slices with some specific angles curled the wrong way * Fixed bug in Image_Canvas_ImageMap::show() and Image_Canvas_ImageMap::save() calling non-existing method _toHtml() * Fixed bug in Image_Canvas_SVG::polygon() not showing polygon if last point was a spline - addSpline() * Fixed bug causing line ends not to show if color not exlicitly defined * Fixed Bug #5066 "Reference Notices" (from Image_Graph) * Fixed bug #5175 "Unable to define IMAGE_GRAPH_SYSTEM_FONT_PATH outside of Config.php" * Fixed Bug #5325 "Image/Color.php compatibility with old PHP versions" 0.2.3 0.2.3 alpha alpha 2005-10-28 LGPL Fixed Bug #5786 "Error in producing SVG" * Fixed Bug #5805 "Canvas\Fonts\fontmap.txt is missing" 0.2.4 0.2.4 alpha alpha 2005-11-08 LGPL * Fixed a bug causing in Image_Canvas_SVG causing grouping to give a "Missing argument..." error (this rendered Image_Graph using SVG broken) * Fixed a bug causing rectangles not being displayed, if points were given in the wrong order 0.3.0 0.3.0 alpha alpha 2006-03-02 LGPL * Added clipping (GD uses Image_Canvas method involving ImageCopy(), until native support is available throught existing GD functions gdImageSetClip()) * Fixed the way SVG rotates text to now use transform * Added public reset() method to Image_Canvas * Fixed Bug #6406 "method _mapFont missing" * Fixed Request #6632 "Style element assigned with = instead of :" * Fixed Bug #6769 "ImageMap.php does not check for boolean false with strpos" 0.3.1 0.3.1 alpha alpha 2007-06-22 LGPL * Modified GD canvas addText() method with TTF fonts - (x, y) parameters now specify the absolute lower-left corner of the text (if angle is 0) instead of the baseline of the first letter, making texts appear incorrectly. This however require fonts to have a steady baseline, like fx. Arial, Verdana, etc. unlike Comic * Fixed Image_Canvas_PDF to display correctly * Fixed Request #7285 "UTF-8 in SVGs" * Fixed Bug #7454 "Vertical axis title is shifted 180 degrees between SVG and PNG output" * Fixed Bug #8488 "wrong variable name" (thanks to troehr at php dot net) * Fixed Bug #8556 "SVG.php contains typo" (thanks to troehr at php dot net) * Fixed Bug #8776 "Fatal error: Call to undefined function: imageantialias()" * Fixed Bug #9070 "factory method causes PHP error if no GD" (thanks to troehr at php dot net) * Fixed Bug #9176 "UTF-8 in SVGs does not work (patch included)" (thanks to troehr at php dot net) * Fixed Bug #10236 "Pie Chart Shading Error when datapoint has 0 value" (thanks to peter_wake at hotmail dot com) * Fixed Request #11402 "Implement Image_Canvas_SVG::getData()" (thanks to troehr at php dot net) 0.3.2 0.3.2 alpha alpha 2009-08-18 LGPL QA Release. * Fixed Bug #12064 "Updated all @link to official url (thanks to Torsten Roehr)" * Fixed Bug #12084 "Set wrong fill color in PDF.php, SVG.php (thanks to Torsten Roehr)" * Fixed Bug #12122 "Added new driver for SWF output (thanks to Torsten Roehr)" * Fixed Bug #12744 "Used shape poly instead of polygon in ImageMap (Uwe Steinmann)" * Fixed Bug #12745 "Make area tag xhtml compliant, added missing '/' (thanks to Christian Weiske)" * Fixed Bug #12746 "Make img tag xhtml compliant, added missing '/' (thanks to Christian Weiske)" * Fixed Bug #12747 "Added attribute id to map tag (Uwe Steinmann)" * Fixed Bug #14199 "Added new driver for PostScript output"