IDEASDesign
asked on
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
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
ASKER
Ok, ... it's been well over a week now. Any takers on this?
- yg
- yg
ASKER
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
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
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.
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.
ASKER
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
How well does your custom tag work? Is it used for thumbnail creation? And would you be willing to share it?
- yvan
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.
yeah the memory leak is why I went poking around ij.jar in the first place.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you cyberdevil67. Easel2's CFX_IMG tag turned out to be excellent. I have awarded you the 500 pts.
Cheers,
- yvan
Cheers,
- yvan
http://www.cftagstore.com/tags/cfxgdlib.cfm