Re: PhotoScripter and Curves
Re: PhotoScripter and Curves
- Subject: Re: PhotoScripter and Curves
- From: Shane Stanley <email@hidden>
- Date: Thu, 28 Jun 2001 09:30:57 +1000
On 27/6/01 9:25 PM +1000, Simon Topliss, email@hidden, wrote:
>
Has anyone had any success applying curve data to images in PhotoShop using
>
PhotoScripter?
>
>
I am trying to add a 10% increase or decrease to the midtones of each
>
channel (CMYK). I need to be able to access each channel separately as I am
>
trying to create 26 variations of any image.
>
>
Whatever values I add I always seem to get the same result. I was hoping to
>
use:
>
>
tell application "Adobe. Photoshop. 5.5"
>
-- next should be all on one line
>
adjust the current document changing curves to {adjustment: {curves
>
adjustment {channel:cyan channel, curve:{{0, 0}, {50, 55}, {255, 255}}}}} --
>
all on one line
>
end tell
>
>
But that's not achieving the correct result. Any ideas?
I hit the same problem. I ended up using a curves settings file:
adjust changing curves to {settings file:alias curvesFile}
(The settings files are fairly simple ASCI -- because they had a habit of
getting thrown out, I had the script write a new one each time it ran.)
--
Shane Stanley, email@hidden