The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Basis::ConvertText2::Plugin::Ditaa

SYNOPSIS

   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) ;

DESCRIPTION

convert a ditaa text string into a PNG, requires ditaa program from http://ditaa.sourceforge.net/

ditaa

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:

Around line 54:

'=item' outside of any '=over'

=over without closing =back