Article View: adobe.photoshop.scripting
Article #164Re: Save a curves preset via a script
From: Michael_L_Hale
Date: Thu, 05 Mar 2009 00:42
Date: Thu, 05 Mar 2009 00:42
9 lines
1194 bytes
1194 bytes
I had the same problem. I haven't used fromStream before and Photoshop choked on the couple of attempts I made. So instead of trying to get to and from stream working I looked at the raw data from the descriptor and an acv file. I noticed that they where very similar in the curve data parts. The script was written just to show the concept. I knew as I was writing it that Xbytor could have done a better job if he had time. If you run into any problems using it let me know. Judging by a few test I made it should be able to handle other color modes with few slight mods. Mike
Technical Details
Message-ID:
<59b81a29.7@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b81a29.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,fbf81dcb10c84f7c X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Michael_L_Hale@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: Re: Save a curves preset via a script Message-ID: <59b81a29.7@webcrossing.la2eafNXanI> Date: Wed, 4 Mar 2009 16:42:44 -0800 References: <59b81a29.-1@webcrossing.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit