Image::Randim::Image - Image object
use Image::Randim::Source; $source = Image::Randim::Source->new; $source->set_provider('Desktoppr'); $image = $source->get_image; say $image->url;
This is the image object returned by Image::Randim::Source which contains information about the image.
url
The URL where the image can be reached.
link
The URL that links to the page at the source that gives credit to the creator and where you can find more detailed information about the image.
owner
The userid of the owner (author, creator) of the image. Not always there.
owner_name
The full name of the owner, which is not always there.
width
The width in pixels, AS REPORTED BY THE SOURCE SITE.
height
The height in pixels, AS REPORTED BY THE SOURCE SITE.
filename
The local filename, either provided by the source site or created locally. This is not set usually on the source call, but rather on the download call -- don't count on this to be set unless you or a script set it.
Mark Rushing <mark@orbislumen.net>
This software is copyright (c) 2017 by Home Grown Systems, SPC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Image::Randim, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::Randim
CPAN shell
perl -MCPAN -e shell install Image::Randim
For more information on module installation, please visit the detailed CPAN module installation guide.