Hello all
I am trying to develop a script to convert an image from one format to another.
on convertImageType(targetImage, targetType)
set theImage to targetImage
tell application "Image Events"
launch
set theImageReference to theImage
tell theImageReference
save as targetType
close
end tell
end tell
end convertImageType
convertImageType("test.psd", "JPEG")
This throws up the error “test.psd” doesn’t understand the save message.
All suggestions are welcome.
Thank you.
Derek