Data::TestImage - interface for retrieving test images
use Data::TestImage; say Data::TestImage->get_image('mandrill')->basename; # 4.2.03.tiff
Produces the mandrill image.
Returns a Path::Class::Dir object to the shared directory for the
get_image( $image_name )
Some of the image databases can be configured to install more images at configuration time. This can be accomplished by setting the
PERL_DATA_TESTIMAGE_INSTALL environment variable prior to installation, for example
export PERL_DATA_TESTIMAGE_INSTALL="USC::SIPI=miscellaneous,sequences" cpanm Data::TestImage
See the database documentation for more information. Multiple databases can be configured by putting a space between each sequence.
Zakariyya Mughal <email@example.com>
This software is copyright (c) 2014 by Zakariyya Mughal.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.