🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #558

Re: delete all channels previously created by "save selection"

#558
From: John_A_Horner
Date: Sat, 10 Jan 2009 21:48
12 lines
2125 bytes
hey paul,

thanks again... that's brilliant. it worked without a hitch. i noticed in looking at the code briefly that it appeared to be apply the lzw compression. when i double checked the file size i noticed that it was in fact compressing the file. i removed this one line from the script and it seems to run fine without it and leaves the file uncompressed (which i prefer to do). i am not that familiar with using compression except with jpegs and was of the understanding that it generally degraded the image albeit very slightly... please let me know if you think this is not accurate. also, i am assuming based on a couple of experiments (as i don't know of anyway to look it up directly) that it is saving the new file in "mac" byte order. while i am on a mac, most of my clients are on a pc (and often with older (or much older) versions of photoshop). to minimize potential problems is there a way to force it to use the 'pc' byte order, or does it have to be set that way by default because i am on a mac? i actually tried to duplicate a line of your script and revised it to read:

tiffSaveOptions.byteOrder = TIFFEncoding.TIFFIBMPC;

and about 10 other variations (....TIFFIBM, ...TIFFPC, ...IBM, ...PC, ....IBMPC, ...=IBMPC, etc.) but all of them gave me an error message.
is there a library online anywhere to see a list of legitimate commands and formatting? sorry if i am becoming a pest! i promise this is the last issue.

have a nice weekend,

john h.
Technical Details
Message-ID: <59b776ef.7@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b776ef.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,ad07083eeec92c34
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: John_A_Horner@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: delete all channels previously created by  "save selection"
Message-ID: <59b776ef.7@webcrossing.la2eafNXanI>
Date: Sat, 10 Jan 2009 13:48:58 -0800
References: <59b776ef.-1@webcrossing.la2eafNXanI>
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit