Solved

Coldfusion image upload - General CMM error517

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

16 Experts available now in Live!

Get 1:1 Help Now