File: NetpbmClouds.bpl

package info (click to toggle)
babygimp 0.41-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 616 kB
  • ctags: 236
  • sloc: perl: 5,872; makefile: 28; sh: 4
file content (32 lines) | stat: -rw-r--r-- 1,648 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$VAR1 = bless( {
                 'alias' => 'NetpbmClouds',
                 'type' => 'creator',
                 'comment' => 'Example Plugin (needs Netpbm)
Creates a fractal forgery of clouds.
The output will appear in the clipboard.
',
                 'params' => {
                               '$int1' => {
                                            'alias' => 'Width',
                                            'val' => 32,
                                            'min' => '0',
                                            'default' => 32,
                                            'max' => 150
                                          },
                               '$int2' => {
                                            'alias' => 'Height',
                                            'val' => 32,
                                            'min' => '0',
                                            'default' => 32,
                                            'max' => 150
                                          },
                               '$float1' => {
                                              'alias' => 'Fractal dimension',
                                              'val' => '2.15',
                                              'min' => '0',
                                              'default' => '2.15',
                                              'max' => 3
                                            }
                             },
                 'commandstring' => 'ppmforge -clouds -width $int1 -height $int2 -dimen $float1 | ppmquant 256 | ppmtoxpm '
               }, 'Plugin' );