Re: GC Scale
Re: GC Scale
- Subject: Re: GC Scale
- From: John McAdams <email@hidden>
- Date: Sun, 27 Jan 2002 20:49:14 -0500
Hi List,--Thanks for the responses. My tireless efforts have yielded the
following (stifled yawns). Scaling the file way down--an inch in this
case, does not bump res and makes the image fuzzy and slightly dark. So
set the res & levels before you scale then sharpen (credit to Chris
Adams for the bulk of this):
tell application "GraphicConverter"
set the image_Dims to the image dimension of window 1
set the horiz_dim to item 1 of the image_Dims
set the vert_dim to item 2 of the image_Dims
if the horiz_dim is greater than the vert_dim then
set the scale_factor to 72 / horiz_dim
else
set the scale_factor to 72 / vert_dim
end if
autolevel window 1
change resolution of window 1 to {"150", "150"} with recalculate
scale window 1 horizontal scale_factor vertical scale_factor
sharpen edges of window 1 to 50
end tell
This yields a pretty darn nice picture and using GC lets you stay in OS
X! (polite applause, crowd heads for bar).--jmc