How do I get an ICC profile into a form I can embed into an image using Apple Script/Image Events?
I'm using the form below
make new profile with properties {location:"Macintosh HD/Users/user_N/Desktop/sRGB Profile.icc"}"
embed this_image with source profile
I've also tried setting the color space property of the image.
set the color space of this_image to RGB
of course there is more to the code but that is just the part I'm having issues with. I get the error message "Image got an error: can't make profile into type profile" and, error "The variable profile is not defined." number -2753 from "profile"
What am I missing here, Anyone know?