Script file generated from LiVES |1.7 ppmfilter2 1 salsaman| ppmfilter|Applying ppmfilter to|1|1| ppmeffectv convert ppmfilter type|_effect type|string_list|0|quarktv|radioactv|puzzletv|edgetv|shagadelictv|agingtv|lifetv|dicetv|deinterlacetv|rndmtv|revtv|randomdotstereotv|difftv|warholtv|sepia|extract-red|extract-green|extract-blue| 0x0000 0xF0
if ($p0==0) {
   $type="quarktv";
} elsif ($p0==1) {
  $type="radioactv";
} elsif ($p0==2) {
  $type="puzzletv";
} elsif ($p0==3) {
  $type="edgetv";
} elsif ($p0==4) {
  $type="shagadelictv";
} elsif ($p0==5) {
  $type="agingtv";
} elsif ($p0==6) {
  $type="lifetv";
} elsif ($p0==7) {
  $type="dicetv";
} elsif ($p0==8) {
  $type="deinterlacetv";
} elsif ($p0==9) {
  $type="rndmtv";
} elsif ($p0==10) {
  $type="revtv";
} elsif ($p0==11) {
  $type="randomdotstereotv";
} elsif ($p0==12) {
  $type="difftv";
} elsif ($p0==13) {
  $type="warholtv";
} elsif ($p0==14) {
  $type="sepia";
} elsif ($p0==15) {
  $type="extract-red";
} elsif ($p0==16) {
  $type="extract-green";
} elsif ($p0==17) {
  $type="extract-blue";
}
`$convert_command $in ppmin.ppm`; `cat ppmin.ppm | ppmfilter --$type > ppmout.ppm`; `$convert_command ppmout.ppm $out$img_ext`; rename "$out$img_ext",$out; unlink ; unlink ;