Solved

Coldfusion image upload - General CMM error517

Posted on 2012-03-29
4
560 Views
Last Modified: 2012-03-29
Hello experts.
Trying to upload an image i got this error:
error message: General CMM error517
type: java.awt.color.CMMException

My code is like:
<cfimage action = "info" source="...path to the image /imagename" structName="imginfo">
<cfset sourceImage = '...path to the image /imagename'>
<cfset img = imageRead(sourceImage)>
<cfset imageResize(img, "600" '',"lanczos",1)>
For cfdump  - img i got the information in the attached file.

Any help?
cfdump.html
0
Comment
Question by:Panos
  • 2
  • 2
4 Comments
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 37782740
A quick search suggests it's a corrupt profile in the image itself. If it's a java problem it  probably can't be fixed from CF.  Unless there was a patch for it. You could try and load the image with another program and resave it. See if that corrects the profile problem.

http://blog.dkferguson.com/index.cfm/2008/8/5/CFIMAGE-generates-java-error
0
 
LVL 2

Author Comment

by:Panos
ID: 37783135
Hi agx.
Every day something new!!
I did save the image ,using photoshop, to a new file - (save for  web and devices) and it is working now.
thank you
0
 
LVL 2

Author Closing Comment

by:Panos
ID: 37783139
Thank you
reards panos
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37783165
Cool, I was hoping that would do the trick since it can't be fixed from java.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question