Simple Machines Community Forum

SMF Development => Feature Requests => Topic started by: mmiodek on February 04, 2016, 08:36:03 AM

Title: ICC profile support for uploaded images
Post by: mmiodek on February 04, 2016, 08:36:03 AM
Hi,

We have noticed that after uploading a picture to the forum, the ICC profile gets discarded which results in incorrect display of the colors. It looks like the following line is missing when comparing original vs uploaded picture: <photoshop:ICCProfile>Adobe RGB (1998)</photoshop:ICCProfile>

Is it possible to introduce support for this?
Title: Re: ICC profile support for uploaded images
Post by: vbgamer45 on February 04, 2016, 08:49:12 AM
Try uncheck " Re-encode potentially dangerous image attachments "   under attachments and avatars -> attachment settings
Title: Re: ICC profile support for uploaded images
Post by: mmiodek on February 04, 2016, 10:11:25 AM
We are not going to change it as it says it could be security risk. Do you know of any other method?
Title: Re: ICC profile support for uploaded images
Post by: vbgamer45 on February 04, 2016, 11:24:55 AM
No. Since that function is meant to strip things that look like html tags
Title: Re: ICC profile support for uploaded images
Post by: mmiodek on February 05, 2016, 06:12:54 AM
Maybe a possibility to override this and accept lines which include some specific string?