Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Coldfusion image upload - General CMM error517

Posted on 2012-03-29
4
Medium Priority
?
616 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 52

Accepted Solution

by:
_agx_ earned 2000 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This article  is about submitting  form through  ColdFusion.Ajax.submitForm to the action page and send a response back in JSON format which later can be decoded using ColdFusion.JSON.decode. By this way you can avoid the usual page refresh for subm…
Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

618 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