🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #393

Re: Save a curves preset via a script

#393
From: Phibbus
Date: Tue, 03 Mar 2009 22:05
15 lines
1264 bytes

      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.





I like your idea better. Besides being more elegant, it would avoid the problem of trying to split the layers among several (perhaps many) containing image files and then trying to match them up appropriately later. I'm going to have a look at what I can do with .toStream/.fromStream.

Many thanks again.
Technical Details
Message-ID: <59b81a29.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <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: Phibbus@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: Save a curves preset via a script
Message-ID: <59b81a29.3@webcrossing.la2eafNXanI>
Date: Tue, 3 Mar 2009 14:05:32 -0800
References: <59b81a29.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit