Sharing Ideas And Solutions Our Newsletter Downloadable Solutions PHP Classes For Small & Medium Enterprise Free For Non-Profit Organization Customer Feedback Contact Us Featured Web Template View More Templates MasRizal In Numbers * 26 years in business. * 6856 corporations in 67 countries have chosen our products and service. * 73.20% are using more than one solutions from us. - MasRizal & Partners -Enhancing Business With Trust Compress Image Custom Tag: cf_image_compressVersion: 3.0(c) 2007, MasRizal & Partnersrizal.firmansyah@masrizal.com cf_image_compress is a quick solution to re-compress image file on-the-fly, in the server.This tag will re-compress any GIF, PNG and JPG file so it become smaller than the original,while maintaining the quality as defined by developer into this tag's attribute. New in V2:Better support for GIF and PNG files which have alpha layer (transparent).Better error handling. CF_Image_Compress will now throws an error whenever incorrect parameter was supplied.The caller page can trap the error message in <cftry><cfcatch> block. New in V3:Support for ColdFusion 8 as well as other JRE. Features Requirements Usage Application Example
Compress on-the-fly, you can retain the original image unchanged.
[h1] Fast operation Input image file supported: GIF, JPG, PNG Output image file supported: JPG, PNG High quality image output can be achieved by controlling minimum compression level You can limit the maximum filesize as well! New in V2: Better support for alpha (transparent) GIF and PNG image New in V3: Support for ColdFusion 8 as well as other JRE.[/h1][h1] Works using CFMX built-in Java.[/h1][h1] No 3rd party application needed.[/h1][h1] No CFX tags.[/h1][h1] Shared hosting friendly.[/h1][h1]Just copy this custom tag in your ColdFusion working directory, and you're set [/h1]Supported ColdFusion Server: ColdFusion MX 6, 6.1 ColdFusion 7 ColdFuion 8 on all operating systems Supported browsers:Since this tag is working on server side, all browsers are compatible. <cf_image_compress InputImageFile="Full path and filename for the image to be resized (mandatory). Allowable formats: gif, jpg and png " OutputImageFile="Full path and filename for resulting image (mandatory). Allowable formats: jpg, png " MaxFileSize="Maximum filesize of resulting image (in bytes)" MinQuality="Minimum JPEG compression quality (0-100) 0 is the worst quality while 100 has the best quality. Default is 50" DetailLevel="0-10. 10 provides the best filesize/quality ratio, 0 provides the worst filesize/quality ratio"> Explanation:1. MaxFileSizeUse maxfilesize if you want to limit maximum image file size.Set this value to 0 if you don't want to set maximum filesize.2. MinQuality100 provides the best quality while having largest image size.Typicially quality between 40-50 is still acceptable for most images. Set MinQuality to optimally retain original image quality. This tag comes in handy when you're dealing with uploaded image from user, such as: e-Commerce sites Image directory website User catalog / directory Real-estate application and many more... Many people tends to upload image "as is".It is our job to make sure that their uploaded images falls under our filesize restriction.Instead of rejecting large image upload, this tag can compress uploaded image to meet our filesize restriction. For a complete example please click this link (Open in new window) (Tabbed page powered by CF_Tab) Price License Purchase $49.99 1 Single developer $499.90 1 Site license $749.85 1 Corporate license Licensing Information Goods and services provided by MasRizal Sold by 2CheckOut.com Inc. (Ohio, USA). 2Checkout & MasRizal accepts customer orders via online checks, Visa, MasterCard, Discover, American Express, Dinners, JCB and debit cards with the Visa and MasterCard logo. PayPal and purchasing using your existing bank account are limited to US currency. Compress Image is available for immediate download. After you complete the order, you will receive a confirmation email with your download link. Please ensure your email address is entered correctly during the order process. Customers Who Purchased Compress Image Usually Purchased These Products Too 1. Rotate Image 2. Image Processing Pack 3. CF_Email_Validator 4. CF_Tab Why Customers Choose Us Find out why our valued customers choose MasRizal & Partners solutions. Click here to see their reasons Featured Customers More than 6850 companies rely on MasRizal & Partners solutions. Click here to see our featured customers Free For Non-Profit Organization MasRizal Charity program allows eligible nonprofit organizations to get MasRizal's products at no cost. Click here for program detail Testimonials Take the word of our clients Top Selling Products See our top selling products Let Us Help You Can't find solution you need? Click here to get solution from MasRizal.
cf_image_compress is a quick solution to re-compress image file on-the-fly, in the server. This tag will re-compress any GIF, PNG and JPG file so it become smaller than the original, while maintaining the quality as defined by developer into this tag's attribute.
New in V2: Better support for GIF and PNG files which have alpha layer (transparent). Better error handling. CF_Image_Compress will now throws an error whenever incorrect parameter was supplied. The caller page can trap the error message in <cftry><cfcatch> block.
New in V3: Support for ColdFusion 8 as well as other JRE.
Compress on-the-fly, you can retain the original image unchanged.
Fast operation
Input image file supported: GIF, JPG, PNG
Output image file supported: JPG, PNG
High quality image output can be achieved by controlling minimum compression level
You can limit the maximum filesize as well!
New in V2: Better support for alpha (transparent) GIF and PNG image
New in V3: Support for ColdFusion 8 as well as other JRE.
Works using CFMX built-in Java. No 3rd party application needed. No CFX tags. Shared hosting friendly. Just copy this custom tag in your ColdFusion working directory, and you're set
Supported ColdFusion Server:
ColdFusion MX 6, 6.1
ColdFusion 7
ColdFuion 8
on all operating systems
Supported browsers: Since this tag is working on server side, all browsers are compatible.
<cf_image_compress
InputImageFile="Full path and filename for the image to be resized (mandatory). Allowable formats: gif, jpg and png "
OutputImageFile="Full path and filename for resulting image (mandatory). Allowable formats: jpg, png "
MaxFileSize="Maximum filesize of resulting image (in bytes)"
MinQuality="Minimum JPEG compression quality (0-100) 0 is the worst quality while 100 has the best quality. Default is 50"
DetailLevel="0-10. 10 provides the best filesize/quality ratio, 0 provides the worst filesize/quality ratio">
Explanation: 1. MaxFileSize Use maxfilesize if you want to limit maximum image file size. Set this value to 0 if you don't want to set maximum filesize.
2. MinQuality 100 provides the best quality while having largest image size. Typicially quality between 40-50 is still acceptable for most images. Set MinQuality to optimally retain original image quality.
This tag comes in handy when you're dealing with uploaded image from user, such as:
e-Commerce sites
Image directory website
User catalog / directory
Real-estate application
and many more...
Many people tends to upload image "as is". It is our job to make sure that their uploaded images falls under our filesize restriction. Instead of rejecting large image upload, this tag can compress uploaded image to meet our filesize restriction.
Goods and services provided by MasRizal
Sold by 2CheckOut.com Inc. (Ohio, USA).
2Checkout & MasRizal accepts customer orders via online checks, Visa, MasterCard, Discover, American Express, Dinners, JCB and debit cards with the Visa and MasterCard logo.
PayPal and purchasing using your existing bank account are limited to US currency.
Compress Image is available for immediate download.
After you complete the order, you will receive a confirmation email with your download link.
Please ensure your email address is entered correctly during the order process.
Customers Who Purchased Compress Image Usually Purchased These Products Too
Free For Non-Profit Organization
MasRizal Charity program allows eligible nonprofit organizations to get MasRizal's products at no cost. Click here for program detail