Cool. Will do Rick. Do you know offhand if there's a "nearest neighbor"
interpolation setting? That's the one most commonly used in Photoshop.

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 27, 2006 12:12 PM
To: CF-Talk
Subject: Re: Rick root's image.cfc, resizing issue


Andy Matthews wrote:
>
> I'm using your CFC, starting with an >= 800 pixel wide image, and creating
3
> sizes of it. The smallest size at 160 wide looks pretty rough. Do you have
> any input in improving the quality? Here's the call to scaleX:

Try playing around with the compression.  I don't think I've ever used
anything below 90.

There may also be some advantages to using an alternative interpolation..

See line 446:

<cfset rh.put(rh.KEY_INTERPOLATION, rh.VALUE_INTERPOLATION_BICUBIC)>
<!--- NEAREAST_NEIGHBOR, BILINEAR, BICUBIC --->

Change INTERPOLATION_BICUBIC to INTERPOLATION_BILINEAR to see if it
makes a difference.

I haven't really played with this setting much.

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254461
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to