Errata


Print Print Icon

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question



Version Location Description Submitted By
Printed Page 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)

Anonymous 
Printed Page 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.

Anonymous 
Printed Page 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?

Anonymous 
Printed Page 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.

Anonymous 
Printed Page 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?

Anonymous 
Printed Page 273
2nd paragraph

change "cubic Bezier" to "quadratic Bezier"

Anonymous 
Printed Page 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)

Anonymous