ImageCR

Overview

CFX_ImageCR is a professional quality custom tag for processing images natively and very efficiently in Coldfusion.

CFX_ImageCR loads an image file and saves another after performing the operations it has been directed to. Operations include converting, resizing, cropping and much more. All operations are detailed in the attributes section of this documentation. CFX_ImageCR has been used to process images for online retailers, real estate listings, art galleries, photo albums, uploaded images and many more.

      
before after
130kb 3kb

Download a fully functional free trial today »
Visit our detailed online documentation. »

Examples

( more )

Basic

<cfx_imagecr3 load="#expandpath('example.jpg')#" 
              save="#expandpath('example-resaved.jpg')#" >
basic.cfm Plain Code...

Resize

<cfx_imagecr3 load="#expandpath('example.jpg')#" 
              save="#expandpath('example-resized.jpg')#"
              resize="200x200" > <cfoutput> <img src="example-resized.jpg"> </cfoutput>
resize.cfm Plain Code...View Result...

Cropping

<cfx_imagecr3 load="#expandpath('example.jpg')#" 
              save="#expandpath('example-cropped.jpg')#"
              crop="200x200"
              anchor="center" > <cfoutput> <img src="example-cropped.jpg"> </cfoutput>
crop.cfm Plain Code...View Result...

Simple Gallery

<cfset dir="#ExpandPath('photos/')#">

<cfdirectory name="dirlist" directory="#dir#" filter="*.jpg">

<cfoutput query="dirlist">  
  
  <cfx_imagecr3 load="#dir##dirlist.name#" 
              save="#expandpath('thumbnails/')#"
              resize="x100" > <a href="photos/#dirlist.name#"> <img src="thumbnails/#imagecr.filename#" border="0"></a> </cfoutput>
gallery.cfm Plain Code...View Result...

Details

ImageCR is deployed as 100% native compiled software. This means it is more CPU efficient and uses less memory than competing products. ImageCR does not require Java and is not implemented in Java. ImageCR provides functionality not found in other solutions, from more advanced caching to simply better support for image formats and their parameters. ImageCR does this now and has for years.

ImageCR is meant to work on-the-fly for ease of use and will by default intelligently cache images. It can be used directly in live pages without performance consequences.

These capabilities allow developers to design better looking, more customizable sites in less time with professional quality image manipulation.

Additionally, in applications with no current thumbnail solution at all, the download time for end users can be drastically reduced as demonstrated in the before and after image on the right, saving precious bandwidth and processing.

Efflare writes software for everyone, from Nasa, to image server providers, to the telecommuting Coldfusion developer. Our customers know what our products offer, and praise us for that and our quick support.

Recently, millions of national television viewers were visiting a website which happened to be using a competitor's product. The site crashed under the load. The developer, already having found the benefit of ImageCR, but not the time to implement it on all their old developments, spent 15 minutes updating the entire downed site to ImageCR. The server was brought back up and it stopped crashing, handling the load as it was meant to. This is what Efflare expects.

Download a fully functional free trial today »
Visit our detailed online documentation. »

<% //

// » You may install and use this software on a single cpu per license.
// » You pay only the difference in price between versions when upgrading.
//

%>

Features

  • threadsafe & scalable, cflock is not required
  • written with efficient assembly-optimized native code
  • registry independent, available as a zip file or setup executable
  • caches output intelligently, generating images only when it needs to
  • optimized native code runs in virtually no time on cached images
  • support for dozens of image and other media formats
  • fifteen types of resampling for professional resizing
  • smart detection when loading image files regardless of extension
  • returns image width and height when generating images
  • retrieve image details without loading the entire image with getimageinfo
  • set a default value for the save attribute with setdefaultsave, eg. d:\web\_cache\
  • optional automatic naming for saved images creates unique, but still cached, filenames
  • all new, more intuitive and flexible attributes and values, eg. load, resize, border, etc.
  • resizing capable of maintaining aspect ratio and performing common logic, ie. RectString
  • true cropping, with anchoring, to cut out unwanted or unnecessary sections of an image
  • autocontrast adjustment for repairing overly dark or bright images
  • contrast, brightness, border, bordercolor, blur, sharpen, rotate, flip, flop, and more...

More..