Opened 9 years ago

#1359 new enhancement

EFM and image mode (RGB-CMYK)

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Plugins Version:
Severity: normal Keywords:
Cc:

Description

Its good idea to add in configuration for EFM restriction for some images mode. For example if user upload jpg in CMYK mode, IE show as broken image.
getimagesize() tells for CMYK image mode, channels=4 and for RGB image mode channels=3

Something like:

$IMConfig['allowed_image_modes']='RGB,CMYK' // enable all modes (default)

or

$IMConfig['allowed_image_modes']='RGB'// enable only RGB mode

Change History (0)

Note: See TracTickets for help on using tickets.