NAME
Image::Randim::Image - Image object
SYNOPSIS
use Image::Randim::Source;
$source = Image::Randim::Source->new;
$source->set_provider('Unsplash');
$image = $source->get_image;
say $image->url;
DESCRIPTION
This is the image object returned by Image::Randim::Source which contains information about the image.
ATTRIBUTES
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.
AUTHOR
Mark Rushing <mark@orbislumen.net>
COPYRIGHT AND LICENSE
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.