NAME

Lego::From::PNG::View - Format data returned from Lego::From::PNG

SYNOPSIS

use Lego::From::PNG;

my $object = Lego::From::PNG->new({ filename => 'my_png.png' });

$object->process(view => 'JSON'); # Data is returned as JSON

DESCRIPTION

Base class for formatting data returned from processing a PNG

USAGE

new

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  :

png

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  :

print

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  :

BUGS

SUPPORT

AUTHOR

Travis Chase
CPAN ID: GAUDEON
gaudeon@cpan.org
https://github.com/gaudeon/Lego-From-Png

COPYRIGHT

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.

SEE ALSO

perl(1).