Perl Graphics Programming by Shawn Wallace The unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification This page was updated April 8, 2008. UNCONFIRMED errors and comments from readers: {28} Example 2-1; Using version 1.41 of GD.pm line: my $imag = GD::Image->newPalette (401, 201) Method newPalette( is not implemented, use simply new (401, 201) (35) bottom; On the page it reads (multiple times): $image = GD::Image::new([width,height]); this should be: $image = GD::Image->new([width,height]); This mistake also occurs multiple times on page 36, 37 and 38. [65] 1st paragraph after "Using Image::Magick"; This section should start out (or at least include) what the units are. Are the implied units pixels? Where is the origin? Upper left corner? Lower left? [68] 2nd block of code; I had to add the parameter fill => "matte", to the call to Draw(primitive => "Rectangle" to get it to draw an outline around the text instead of a big black rectangle. [103] in the Draw template at the top of the page and in the examples for Bezier & Circle; The template uses the parameter "strokewidth". The examples use the parameter "linewidth", which is not listed in the template. Which one's correct? {273} 2nd paragraph; change "cubic Bezier" to "quadratic Bezier" [336, 344] Example 12-3, line #16: my $img = $pdf->image('scotty.jpg'); # Read a JPEG image; Page 336, example 12-3, line #16: ================================= my $img = $pdf->image('scotty.jpg'); # Read a JPEG image The script gave an error message: Can't locate object method "image" via package "PDF::API2" at example12-3.pl line 16. Page 344: ========= image() doesn't exist in PDF::API2 module (version 0.62)