GraphicsMagick - ColdFusion Custom Tag
ColdFusion 9, 10 & 11′s image performance is not as good as it should be considering it comes from the makers of Adobe PhotoShop, Illustrator & Acrobat. I was using CFX_OpenImage (a CFX C++ tag for ColdFusion), but it didn’t support the newer “gravity” features of GraphicsMagick. I wrote my own wrapper for GraphicsMagic that supports some of the more common functions that we need. I figured that this was a good technology choice since both Flickr & Etsy use it.I’ve discovered that it’s much faster to call CFExecute and use GraphicsMagic than using built-in CFImage functions. The resulting files are usually smaller in filesize too. Even if no resizing is performed, we added an “optimize” function to ensure that uploaded JPGs are converted to a non-CMYK format that could cause problems with ColdFusion. (We've encountered a couple of CMYK images that CF still can’t read properly.)
Here's a screenshot with some execution time & filesize comparisons versus CFImage. (GraphicsMagick results are on the left.) http://i.imgur.com/6t9iy7d.jpg
CF_GraphicsMagick













