Hi everyone. I hate to introduce myself with a perplexing problem but Tek Tips appears to be the best PSP forum around and I'm stumped. I need this to add a thumbnail feature to my site and I've done several pages successfully and now PSP just stopped working overnight.
I've been using PSP since v 4.12 and purchased v 10 yesterday so I could batch process scripts. The really weird thing is that it worked perfectly yesterday (reduce colors to 16) and now is throwing an error claiming .gif is not a supported document. I tried converting the gifs to psp thinking if it worked there I could convert back to gif. I've restarted the program, rebooted the computer and overwrote the .gif files with PSP v. 10 and my old PSP v. 7.
Here's the script that worked yesterday but now does not:
Andi
I've been using PSP since v 4.12 and purchased v 10 yesterday so I could batch process scripts. The really weird thing is that it worked perfectly yesterday (reduce colors to 16) and now is throwing an error claiming .gif is not a supported document. I tried converting the gifs to psp thinking if it worked there I could convert back to gif. I've restarted the program, rebooted the computer and overwrote the .gif files with PSP v. 10 and my old PSP v. 7.
Here's the script that worked yesterday but now does not:
Code:
from PSPApp import *
def ScriptProperties():
return {
'Author': u'',
'Copyright': u'',
'Description': u'',
'Host': u'Paint Shop Pro X',
'Host Version': u'10.00'
}
def Do(Environment):
# EnableOptimizedScriptUndo
App.Do( Environment, 'EnableOptimizedScriptUndo', {
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((10,0,1),1)
}
})
# Decrease Colors to 16
App.Do( Environment, 'DecreaseColorsTo16', {
'Boost': False,
'BoostAmount': 1,
'ReductionMethod': App.Constants.ReductionMethod.NearestColorMatch,
'PaletteMethod': App.Constants.PaletteMethod.OptimizedMedianCut,
'ReduceBleeding': False,
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((10,0,1),1)
}
})
# FileSave
App.Do( Environment, 'FileSave', {
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.AllAlways,
'Version': ((10,0,1),1)
},
'DefaultProperties': []
})
Andi