🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #2093

PS 8 can't seems to resize with aspec ratio maintained?

#2093
From: Ruby Tuesday
Date: Tue, 23 Mar 2004 15:03
12 lines
1632 bytes
Dear Adobe guru,
         I'm wondering if there is a features in Adobe Photoshop for image
resizing with the following condition:

With an arbitrary original image size,  suppose I have a requirement that
the resulting image can not exceed the max-width and max-height. So, in turn
one dimension would be the exact size of the max size and the other will
either shrink/expand depending on the ratio of the reduction/expansion.

How can you do that in a script using Photoshop 8 or later.

Thanks and much appreciated
Technical Details
Message-ID: <c3pjka$29kf3p$1@ID-205437.news.uni-berlin.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!dpvc-68-161-237-173.ny325.east.verizon.NET!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109590,8a0835d235d9cc10,start
X-Google-Attributes: gid109590,public
X-Google-Thread: f5839,8a0835d235d9cc10,start
X-Google-Attributes: gidf5839,public
X-Google-Thread: 10007d,8a0835d235d9cc10,start
X-Google-Attributes: gid10007d,public
X-Google-ArrivalTime: 2004-03-23 07:03:40 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!dpvc-68-161-237-173.ny325.east.verizon.NET!not-for-mail
From: "Ruby Tuesday" <rubytuzdayz@yahoo.com>
Newsgroups: adobe.photoshop.scripting,adobe.photoshop.windows,adobe.photoshop.windows.faq
Subject: PS 8 can't seems to resize with aspec ratio maintained?
Date: Tue, 23 Mar 2004 10:03:44 -0500
Lines: 14
Message-ID: <c3pjka$29kf3p$1@ID-205437.news.uni-berlin.de>
NNTP-Posting-Host: dpvc-68-161-237-173.ny325.east.verizon.net (68.161.237.173)
X-Trace: news.uni-berlin.de 1080054218 77216889 I 68.161.237.173 ([205437])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165