Article View: adobe.photoshop.scripting
Article #347Script to take original image and save out different sizes.
From: JAY MAC
Date: Wed, 11 Feb 2009 21:14
Date: Wed, 11 Feb 2009 21:14
20 lines
1825 bytes
1825 bytes
Mac/PC Javascript Photoshop CS3 Here is a request I got from another client and I think it should be doable with Photoshop scripting but just need to know if it is doable (im pretty sure it is). Also I am willing to commission this out to someone if interested. Files to start with are style#.jpg (i.e. RE1803.jpg) They are large jpegs with various heights and widths They want to export these jpegs in 3 other sizes 600X600 (light), 340X340 (details), 135X135 (listing) What needs to happen is a folder needs to be created with the name of the style number (RE1803) then the 3 new jpegs need to be saved in the folder so RE1803.jpg is saved as light.jpg (for 600X600), details.jpg (for 340X340) and listing.jpg (for 135X135) in a folder called RE1803. Since the sizes of the original jpegs are all different I guess we would need to find the longest side and then scale it down to 600 pixels then add canvas to make it a square 600X600. Then it will be easy to export the next as 340X340 and then 135X135. Also it would be good if the script could be run both one at a time and maybe also on a whole folder of images if possible. Would be great if I can get this done asap. Thanks in advance! Jason
Technical Details
Message-ID:
<59b7e2ee.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f5839,3522953f5d8415d7,start X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "JAY MAC" <nin9999@comcast.net> Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: Script to take original image and save out different sizes. Message-ID: <59b7e2ee.-1@webcrossing.la2eafNXanI> Date: Wed, 11 Feb 2009 13:14:09 -0800 Lines: 31 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit