🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #392

Re: Save a curves preset via a script

#392
From: xbytor
Date: Tue, 03 Mar 2009 21:30
10 lines
1298 bytes
> I'm wondering if it would be possible to copy all of the curves layers into several, low-pixel image files (renaming each layer to the appropriate filename), and then re-perform the copy in reverse.

That sounds reasonable. Another (similar) alternative is to get the 
ActionDescriptor for the curve layer, save it as a binary file 
(ActionDescriptor.toStream() I think), the recreate the curve layer from the 
binary file (fromStream()) on the other side. It also avoids going the acv route 
but is probably not as easy as doing your layer-copy approach.

-X
Technical Details
Message-ID: <3CB8B30AA07A56232CB53CC72DCDA7C3@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b81a29.-1@webcrossing.la2eafNXanI> <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: xbytor@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: Save a curves preset via a script
Message-ID: <3CB8B30AA07A56232CB53CC72DCDA7C3@in.webcrossing.la2eafNXanI>
Date: Tue, 3 Mar 2009 13:30:24 -0800
References: <59b81a29.-1@webcrossing.la2eafNXanI> <59b81a29.1@webcrossing.la2eafNXanI>
Lines: 14
User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit