Solved

Coldfusion image upload - General CMM error517

Posted on 2012-03-29
4
529 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now