Here’s the offending code:
repeat with this_indd_jpeg in indd_jpeg_list
set original_name to name of this_indd_jpeg
set the_small_path to export_path & original_name as string
set the_large_path to (Large_Folder as string) & original_name as string
tell application "Image Events"
launch
set this_image to open (this_indd_jpeg as alias)
scale this_image to size target_length_large
save this_image as JPEG in file the_large_path with icon
scale this_image to size target_length_small
save this_image as JPEG in file the_small_path with icon
close this_image
end tell
end repeat
The problem is that on one Mac (10.7.5) it saves the JPEGs in RGB (the desired behaviour), and on another (10.6.8) it saves them in CMYK which is definitely undesired.
Is anyone aware of any workarounds or differences between the Image Events versions in 10.6 and 10.7? I’m not certain of any: it’s just a stab in the dark.
Cheers!
I don’t know the difference in image events between 10.7.5 and 10.6.8. But you could try changing the color space with sips: