Symptom
On my Profile page I am attempting to upload a profile photo. However I receive the error message "The image could not be uploaded. Please upload a supported file format such as .jpg or .png"
Image/data in this KBA is from SAP internal systems, sample data, or systems. Any resemblance to real data is purely coincidental.
Environment
SAP Jam
Cause
Your png image was edited by an image editor which added the 'iCCP' chunk to the image and SAP Jam does not permit images with an 'iCCP' chunk
- SAP Jam uses the `tempfile` lib to process these upload images.
- This lib depends on an C++ lib called `libpng` to check png images & it will throw warning "iCCP: known incorrect sRGB profile" when the png image contains an `iCCP` chunk.
Resolution
Upload another version of the photo. Taking a screenshot of your current image and saving it as a .jpg or .png file will work
See Also
Please see here for more information in relation to 'iCCP' chunk
Keywords
KBA , LOD-SF-JAM , SAP Jam , Problem