• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6437
  • Last Modified:

Custom tag / settings for Resizing images using coldfusion

I need to find a good quality / cost effective image resizer for ColdFusion MX that gives us the following functionality:

1) good quality thumbnail creation
2) Ability to apply smoothing or blurring functions prior to resizing (to enhance quality of generated thumbnails)
3) the ability to generate and output grayscale images (not 100% necessary but desired)

I am already aware of and have experimented with CFX_IMAGE,  CFX_JPEGRESIZE, and the ImageJ CFC, .. and have also attempted to use the Alagad image component as well as the efflare custom tag.

CFX_IMAGE = The quality is awful.  I'm trying to add the IML "setjpesmooth " command to the tag in attempt to blur the image somewhat prior to resizing, . but it doesn't seem to be taking.   ( COMMANDS="setjpesmooth 10" ) ... what is the correct syntax for this?  And what range of numerical values can be assigned?

CFX_JPEGRESIZE = The quality is much better, .. but there are no built-in smoothing or blurring functions??

ImageJ CFC = Would be ideal, only it's buggy as hell
* chokes on black and white images - generated thumbnails get corrupted and wont' display in flash animations
* does not resize proportionally (sometimes gives be a black square with a little tiny image in the upper left corner (??)

Efflare custom tag = installed, but generating errors - nagging about some other, unrelated DLL file missing (??)

Alagad image component = installed, but generating errors.  Nagging about not being able to find component (??)

Any advice would be appreciated.

Thanks,
 - yvan@ideasdesigninc.com

0
IDEASDesign
Asked:
IDEASDesign
  • 4
  • 4
1 Solution
 
INSDivision6Commented:
0
 
IDEASDesignAuthor Commented:
Ok, ... it's been well over a week now.  Any takers on this?  

 - yg
0
 
cyberdevil67Commented:
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
IDEASDesignAuthor Commented:
Umm, .. I already listed that tag in my initial post, ... but thanks for replying anyways.  

Basically, what I need is some recommendations on how I can go about maximizing the quality of the dynamically generated thumbnail images, .. using either any of the custom tags I've indicated, ... or some other custom tag that I might have overlooked.  If it turns out that the ideal custom tag for this comes at a price, .. that's ok.  But so far, all the the tags I've experiemented with are either buggy, ... yield very poor quality, .. or are poorly documented and are next to impossible to figure out how to install and use.  Try figuring out the Efflare or Alagad image components and you'll see exactly what I mean.  Does anyone here have any advice they could offer in this regard?

- yvan
0
 
cyberdevil67Commented:
I actually wrote my own cfx_nuImage tag that is based of the ij from java.

Do a search for ij.jar I am not sure of the exact url, but imageJ is based of this java library but doesn't interface itno it properly.

0
 
IDEASDesignAuthor Commented:
Unfortunately, I don't have a good enough understanding of Java to be able to write my own custom tag. But you're right about ImageJ not interfacing with ij.jar properly.  I emailed the developer a few weeks ago, indicating some problems that I'd encountered with ImageJ and politely asking him for some assistance.  But I never heard back from him.  Really, it was one of the best image resizers I'd come across, ... but it's very temperamental, and I suspect that it might even have memory leaks that have been routinely crashing or CF Server.

How well does your custom tag work?  Is it used for thumbnail creation?  And would you be willing to share it?  

- yvan



0
 
cyberdevil67Commented:
it only does resizing and not the stuff that you want it to do.

yeah the memory leak is why I went poking around ij.jar in the first place.
0
 
cyberdevil67Commented:
try this it cost a bit but its the best tool for doing ful image manipulation

http://www.easel2.com/
0
 
IDEASDesignAuthor Commented:
Thank you cyberdevil67.  Easel2's CFX_IMG tag turned out to be excellent. I have awarded you the 500 pts.

Cheers,
 - yvan
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now