
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 ColorAdjustLevels effect',
        'Host': 'Paint Shop Pro 8',
        'Host Version': '8.00',
        }

def Preset_ColorAdjustLevels():
    return {
        'GeneralSettings': {
            'AutoActionMode': 0,
            'ExecutionMode': 0
            },
        'Levels': {
            'Blue': (0, 255, 1.0, 0, 255),
            'RGB': (0, 255, 1.0, 0, 255),
            'Green': (0, 255, 1.0, 0, 255),
            'Red': (0, 255, 1.0, 0, 255)
            }
        }

def Do(Environment):
    App.Do( Environment, 'ColorAdjustLevels', Preset_ColorAdjustLevels())
