?
Solved

Coldfusion image upload - General CMM error517

Posted on 2012-03-29
4
Medium Priority
?
602 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The technique is by far very Simple! How we can export the ColdFusion query results to DOC file?  Well before writing this I researched a lot in Internet but did not found a good Answer anyways!  So i thought now i should share my small snippet w…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

762 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