This file is indexed.

/usr/share/gimp/2.0/scripts/iccii-soft-focus.scm is in gimp-plugin-registry 7.20140602ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
;
; The GIMP -- an image manipulation program
; Copyright (C) 1995 Spencer Kimball and Peter Mattis
;
; Soft focus script script  for GIMP 2.4
; Copyright (C) 2001 Iccii <iccii@hotmail.com>
;
; Tags: photo, artistic
;
; Author statement:
;
;
; --------------------------------------------------------------------
; Distributed by Gimp FX Foundry project
; --------------------------------------------------------------------
;   - Changelog -
; version 0.1  by Iccii 2001/07/22
;     - Initial relase
;
; --------------------------------------------------------------------
;
;    This program is free software: you can redistribute it and/or modify
;    it under the terms of the GNU General Public License as published by
;    the Free Software Foundation, either version 3 of the License, or
;    (at your option) any later version.
;
;    This program is distributed in the hope that it will be useful,
;    but WITHOUT ANY WARRANTY; without even the implied warranty of
;    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;    GNU General Public License for more details.
;
;    You should have received a copy of the GNU General Public License
;    along with this program.  If not, see <http://www.gnu.org/licenses/>.
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    ;;
(define (script-fu-soft-focus
            img
            drawable
            blur
    )
  (let* (
     (layer-copy (car (gimp-layer-copy drawable TRUE)))
     (layer-mask (car (gimp-layer-create-mask layer-copy ADD-WHITE-MASK)))
        )

    ;;
    (gimp-image-undo-group-start img)
    (gimp-image-add-layer img layer-copy -1)
    (gimp-layer-add-mask layer-copy layer-mask)
    (gimp-edit-copy layer-copy)
    (gimp-floating-sel-anchor (car (gimp-edit-paste layer-mask 0)))
    (gimp-layer-remove-mask layer-copy MASK-APPLY)
    (plug-in-gauss-iir2 1 img layer-copy blur blur)
    (gimp-layer-set-opacity layer-copy 80)
    (gimp-layer-set-mode layer-copy SCREEN-MODE)

    ;; Clean up
    (gimp-image-undo-group-end img)
    (gimp-displays-flush)
  )
)

(script-fu-register
  "script-fu-soft-focus"
  _"Soft Focus..."
  _"Soft focus effect"
  "Iccii <iccii@hotmail.com>"
  "Iccii"
  "2001, Jul"
  "RGB* GRAYA"
  SF-IMAGE      "Image"        0
  SF-DRAWABLE   "Drawable"    0
  SF-ADJUSTMENT _"Blur Amount"  '(10 1 100 1 10 0 0)
)

(script-fu-menu-register "script-fu-soft-focus"
                         "<Image>/FX-Foundry/Photo/Effects")