I think all of them can deal with compression when they are decoded, but
after they are resized most image libraries allow you to specify a
compression ratio for compressing JPEGs, perhaps not all tags implemented
this feature, so you want to look for a tag that will let you specify a
compression ratio.

The reason the resize creates a larger file, is because most compression
algorithms for JPEG default at 75% where you might have made the file with
50 or 25%

I am currently working on a Resize tag, it will be written in Java, and the
source will be available.


Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM
ColdFusion Developers Resources
http://www.cfdev.com/

-----Original Message-----
From: Scott Weikert [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 1:05 PM
To: CF-Talk
Subject: Image Resizing tags


Hey gang -

Does anyone out there who's messed with tags like "CF_ImageSize" have any
info on the nature of the files these tags produce, especially when it comes
to running pre-compressed images through them? I'm digging around trying to
settle on one of these tags, but I don't want to end up tossing, say, a 3k
JPG through one of these tags, trimming it down width/height-wise, and end
up with a larger file than I started with because the tag couldn't deal with
compression.

Thanks in adavance,
--Scott
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to