from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
        'Description': u'',
        'Host': u'Paint Shop Pro',
        'Host Version': u'8.10'
        }

def Preset_AutoSmallScratchRemoval():
    return {
        'LowerContrastLimit': 0, 
        'RemoveDarkScratches': App.Constants.Boolean.false, 
        'RemoveLightScratches': App.Constants.Boolean.true, 
        'Strength': App.Constants.ScratchRemovalStrength.Aggressive, 
        'UpperContrastLimit': 50
        }

def Do(Environment):
    # Auto Small Scratch Removal
    App.Do( Environment, 'AutoSmallScratchRemoval',         Preset_AutoSmallScratchRemoval())

