values across to the returned color objects.
http://rt.cpan.org/NoAuth/Bug.html?id=11860
- Imager::Cookbook wasn't included in the MANIFEST
+- added samp-form.cgi and samp-image.cgi to the samples directory to
+ demonstrate displaying a generated image on a HTML page.
=================================================================
- add concept index to Imager.pm pod (done, still working it)
- replace testimg/penguin-base.ppm with a smaller image (done)
- add a sample CGI HTML and image generation scripts that work together,
- with appropriate security management
+ with appropriate security management (done)
- add sample CGI that handles an uploaded image
- examples for fountain filter in Imager::Filters
- provide access to right-side bearing information from the bounding box
- implement gsamp()/gsampf()/plin() etc methods for those low level image
interfaces which don't yet have methods.
- implement i_incomplete for png and gif files.
+- documentation audit, check:
+ - every method has at least one example, but if the method is complex
+ (like transform2, to_paletted, string() for example) it should include
+ a range of examples
+ - check each method description to ensure it's reasonably clear.
+ - check POD sections (SEE ALSO in particular)
+- rework handling of antialiasing against transparent images
Speculation
-----------
How you make the data available to the image generation code depends
on your application.
+See C<samples/samp-form.cgi> and C<samples/samp-image.cgi> in the
+Imager distribution for one approach. The POD in C<samp-form.cgi>
+also discusses some of the issues involved.
+
=head2 Parsing an image posted via CGI
C<WARNING>: file format attacks have become a common attack vector,
This includes 3 different implementations, first using transform2(),
the second using the internal i_copyto() function and the third using
the internal i_glin() and i_plin() functions.
+
+samp-form.cgi
+samp-image.cgi
+
+ Example that demonstrates generating an image linked from a HTML form.
+
+ The POD for this sample discusses alternate approaches and security
+ considerations.