🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #102

Re: ResizeImage using dimensions read from text file

#102
From: JeffreyDeRousse
Date: Tue, 10 Mar 2009 17:27
12 lines
1574 bytes
Thank you all very much.
Paul R's and try67's solution both work.

I can make this work but there still is an easier way for this - There has to be. :-)
I would still love to be able to parse as in the original string from the text file "289,null". The reason being is that sometimes the image may be resized based on the height and that would leave the width null (null,289).
That may not work in those cases because you won't know what is an integer and I have already thought through some lengthier code to make it work, but we all are trying to do the same thing - simpler and fewer lines of code are better.

I think I would like to parse the list as first suggested by Mark Walsh and then take the advice from Paul R and try67 and work towards a solution for the parsed portions of the text file.

I really do appreciate your time in looking this over.

Jeff
Technical Details
Message-ID: <59b82c0d.4@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
References: <59b82c0d.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,4e7306c2b43f139b
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: JeffreyDeRousse <jderousse@vertisinc.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: ResizeImage using dimensions read from text file
Message-ID: <59b82c0d.4@webcrossing.la2eafNXanI>
Date: Tue, 10 Mar 2009 10:27:48 -0700
References: <59b82c0d.-1@webcrossing.la2eafNXanI>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit