Advertisement:

Author Topic: ICC profile support for uploaded images  (Read 7764 times)

Offline mmiodek

  • Newbie
  • *
  • Posts: 3
ICC profile support for uploaded images
« 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?

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,210
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ICC profile support for uploaded images
« Reply #1 on: February 04, 2016, 08:49:12 AM »
Try uncheck " Re-encode potentially dangerous image attachments "   under attachments and avatars -> attachment settings
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline mmiodek

  • Newbie
  • *
  • Posts: 3
Re: ICC profile support for uploaded images
« Reply #2 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?

Online vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,210
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: ICC profile support for uploaded images
« Reply #3 on: February 04, 2016, 11:24:55 AM »
No. Since that function is meant to strip things that look like html tags
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline mmiodek

  • Newbie
  • *
  • Posts: 3
Re: ICC profile support for uploaded images
« Reply #4 on: February 05, 2016, 06:12:54 AM »
Maybe a possibility to override this and accept lines which include some specific string?