NAME
WWW::Orphea::Image - Image object for WWW::Orphea
Constructor
new($agent, $content, $legend)
Creates and returns a new WWW::Orphea::Image
object.
Accessors
$image->content_url()
Returns the url to the image file itself.
$image->legend()
Returns the legend of the image.
Other methods
$image->save_content(%args)
Save the image file. The default is to keep its original file name, but this behavior can be altered using optional parameters.
Optional parameters:
- file => $file
-
Use $file as file name.
- base => $base
-
Use $base with .jpg extension added as file name.
COPYRIGHT AND LICENSE
Copyright (C) 2004, INRIA.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Guillaume Rousse <grousse@cpan.org>