生成的字幕示意圖
聚光燈效果

我還蠻喜歡的一個修圖方法
功用在於凸顯圖中的某一部份
右圖是示範如果要對別人解釋RSS時,可以用此方法強調RSS部份。

以前是一步步作...
最近逛到有關寫Script給gimp的網頁時試著寫的

預設值原本設定為陰影程度60%,因為以前用這個數值做出來的結果看起來頗順眼
但是在寫這隻Script時突然覺得這數字好熟悉
對...就是$\frac{\sqrt{5}-1}{2}=0.6180339$...
也就是黃金分割= =a...
嘛...那就取與int最近的值,62吧...
反正爽就好嘛...XD

把下面這一段放到"~/.gimp-2.4/scripts/spotlight.scm"
安裝完後功能顯示於 "圖層/Spotlight"

(define (script-fu-selection-spotlight image scale) (let* ((newlayer (car (gimp-layer-new image (car (gimp-image-width image)) (car (gimp-image-height image)) (car (gimp-drawable-type (car (gimp-image-active-drawable image)) ) )"Spotlight" scale NORMAL ) ) )) (gimp-drawable-fill newlayer BG-IMAGE-FILL) (gimp-image-add-layer image newlayer 0) (gimp-layer-add-alpha newlayer) (gimp-edit-clear newlayer) ) ) (script-fu-register "script-fu-selection-spotlight" _"Spotlight" _"Add a layer as a spotlight lightting on selection" "Shenk" "Shenk" "2008 9/19" "*" SF-IMAGE "Image" 0 SF-ADJUSTMENT _"Scale (%)" '(62 0 100 1 10 0 0) ) (script-fu-menu-register "script-fu-selection-spotlight" "<Image>/Layer")
創作者介紹

Shenk

Shenk 發表在 痞客邦 PIXNET 留言(0) 人氣()