Lego::From::PNG::View - Format data returned from Lego::From::PNG
use Lego::From::PNG; my $object = Lego::From::PNG->new({ filename => 'my_png.png' }); $object->process(view => 'JSON'); # Data is returned as JSON
Base class for formatting data returned from processing a PNG
Usage : ->new($png) Purpose : Returns Lego::From::PNG::View object Returns : Lego::From::PNG::View object Argument : L<Lego::From::PNG> object is required as input Throws : Comment : This is just a base class so this shouldn't be directly used to format data See Also :
Usage : ->png() Purpose : Returns the L<Lego::From::PNG> object passed into the constructor Returns : L<Lego::From::PNG> object Argument : Throws : Comment : See Also :
Usage : ->print() Purpose : Returns formated input data Returns : In the case of the base class the args passed are just returned back Argument : Throws : Comment : See Also :
Travis Chase CPAN ID: GAUDEON gaudeon@cpan.org https://github.com/gaudeon/Lego-From-Png
This program is free software licensed under the...
The MIT License
The full text of the license can be found in the LICENSE file included with this module.
perl(1).
To install Lego::From::PNG, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lego::From::PNG
CPAN shell
perl -MCPAN -e shell install Lego::From::PNG
For more information on module installation, please visit the detailed CPAN module installation guide.