from JascApp import *

def ScriptProperties():
    return {
        'Author': u'angela',
        'Copyright': u'angela campanella',
        'Description': u'',
        'Host': u'Paint Shop Pro 9',
        'Host Version': u'9.00'
        }

def Preset_UserDefinedFilter():
    return {
        'ApplyToRed': True, 
        'Bias': 0, 
        'ApplyToGreen': True, 
        'Divisor': 1, 
        'ApplyToGrey': False, 
        'ApplyToBlue': True, 
        'Kernel': ((0,0,0,0,0,0,0),(0,0,0,0,0,0,0),(0,0,1,0,0,0,0),(0,0,1,1,-1,0,0),(0,0,0,0,-1,0,0),(0,
            0,0,0,0,0,0),(0,0,0,0,0,0,0))
        }

def Do(Environment):
    # FiltroDefinitoDall'utente
    App.Do( Environment, 'UserDefinedFilter',         Preset_UserDefinedFilter())

