Looking at the saved script file I see the correct 30 and 238 settings are saved. I tried saving a variant where I cut out almost all the other settings it had automatically saved in case those were affecting things, but when I try this new slim script the result is just the same as the full one.
Here is what remains in the slim script:
from PSPApp import *
def ScriptProperties():
return {
'Author': u'',
'Copyright': u'',
'Description': u'',
'Host': u'PaintShop Pro',
'Host Version': u'20.00'
}
def Do(Environment):
# Histogram Adjustment
App.Do( Environment, 'HistogramAdjustment', {
'HistogramAdjustment': {
'RedChannel': {
'HighClipLimit': 238,
'LowClipLimit': 30,
},
'GreenChannel': {
'HighClipLimit': 238,
'LowClipLimit': 30,
},
'BlueChannel': {
'HighClipLimit': 238,
'LowClipLimit': 30,
},
},
})
In the attached image: The left is original input. The center is where I've manually adjusted the histogram. The right is the result of running the script.