
from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
        'Description': 'Factory default preset for AutoSmallScratchRemoval effect',
        'Host': 'Paint Shop Pro 8',
        'Host Version': '8.00',
        }

def Preset_AutoSmallScratchRemoval():
    return {
        'RemoveDarkScratches': 1,
        'Strength': 1,
        'LowerContrastLimit': 0,
        'GeneralSettings': {
            'AutoActionMode': 0,
            'ExecutionMode': 0
            },
        'UpperContrastLimit': 50,
        'RemoveLightScratches': 0
        }

def Do(Environment):
    App.Do( Environment, 'AutoSmallScratchRemoval', Preset_AutoSmallScratchRemoval())
