With this script you can do image color conversions using Apples ColorSyncScripting.
It is written with an easy to understand syntax and is not made for production.
Therefor I should include a lot of checks, like "valid image", "valid colorspace", "valid profile", etc. and of course cleaning the code.
We are converting the source image to:
perceptual, reletive or absolute
No worrenty is granded. You are using it at your own risk!