Imagick - shadows and highlights feature

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
mjamal
Posts: 36
Joined: 2017-12-27T06:13:59-07:00
Authentication code: 1152

Imagick - shadows and highlights feature

Post by mjamal » 2018-07-17T06:50:40-07:00

Hello Team,

Can you please let me know if the below mentioned feature is available from the PHP Imagick extension?
Image/adjustments/shadows and highlights

Shadows amount = 0
Tonal width = 50%
Radius 30 pixels

Highlights amount = 15%
Tonal width = 50%
Radius = 30 pixels

Adjustments = +27
Midtone contrast = 0


Thanks in advanced,
Mohtashim J

User avatar
fmw42
Posts: 23994
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Imagick - shadows and highlights feature

Post by fmw42 » 2018-07-17T08:56:44-07:00

You will have to implement that from fundamental ImageMagick commands. There is no direct equivalent of Photoshop ShadowHighlight or of those arguments as operators. But I have written a Unix bash shell script of a similar effect that can be run from PHP exec(). See my link below.

Post Reply