RFX-GIMP

Artifact Content
Login

Artifact d2c5c19321d1eafcb7e31d61deb0d01324b4777a:


&rfx_sendmsg (
  qq{
  
    (let* ((input-file (string-append "$curtmpdir" DIR-SEPARATOR "$in"))
           (image (car (gimp-file-load RUN-NONINTERACTIVE input-file input-file)))
           (layer (car (gimp-image-get-active-layer image))) )
      (plug-in-unsharp-mask RUN-NONINTERACTIVE
                            image
                            layer
                            (length (member 1 (list $p8 $p7 $p6 $p5 $p4 
                                                    $p3 $p2 $p1 $p0 )))
                            $p9 ; additive
                            $p10 ; rotated
                            ) 
      (rfx-save-frame image "$out") )

    }
  );