App::Basis::ConvertText2::Plugin::Ditaa
my $content = "+--------+ +-------+ +-------+ | | --+ ditaa +--> | | | Text | +-------+ |diagram| |Document| |!magic!| | | | {d}| | | | | +---+----+ +-------+ +-------+ : ^ | Lots of work | \-------------------------+ " ; my $params = { size => "600x480", } ; my $obj = App::Basis::ConvertText2::Plugin::Ditaa->new() ; my $out = $obj->process( 'ditaa', $content, $params) ;
convert a ditaa text string into a PNG, requires ditaa program from http://ditaa.sourceforge.net/
create a simple ditaa image
parameters data - ditaa text filename - filename to save the created image as hashref params of size - size of image, widthxheight - optional
1 POD Error
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
=over without closing =back
To install App::Basis::ConvertText2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Basis::ConvertText2
CPAN shell
perl -MCPAN -e shell install App::Basis::ConvertText2
For more information on module installation, please visit the detailed CPAN module installation guide.