Adjustments > black and white > preset 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: 32
Joined: 2017-12-27T06:13:59-07:00
Authentication code: 1152

Adjustments > black and white > preset feature

Post by mjamal » 2018-07-26T04:46:25-07:00

Hello Team,

Can anyone provide the details if the below photoshop options are available in PHP iMagick library?

1. image > adjustments > black and white > preset = infrared
2. image > adjustments > black and white > preset = maximum black

Ie I need to implement the above two options for the the image in PHP application.

Let me know if this is possible via iMagick or image magick.

Thanks
Mohtashim Jamal

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

Re: Adjustments > black and white > preset feature

Post by fmw42 » 2018-07-26T08:41:31-07:00

There are no direct equivalents in ImageMagick (thus not in Imagick) for these outputs. But you should be able to figure out the transformations and find the proper ImageMagick commands to combine to make the equivalent. In ImageMagick, you could create a 3D HALD image as PNG. Take it to Photoshop. Process the hald image to make the effect you want. Then bring the HALD image back to ImageMagick and use -hald-clut command to process any image to do the same. See https://www.imagemagick.org/Usage/color_mods/#hald-clut. In Imagick, see http://us3.php.net/manual/en/imagick.haldclutimage.php

mjamal
Posts: 32
Joined: 2017-12-27T06:13:59-07:00
Authentication code: 1152

Re: Adjustments > black and white > preset feature

Post by mjamal » 2018-07-30T22:50:19-07:00

Hello Fred,

With using the HALD image, I can manage the PS Image black and White features as requested.

Thank you for your suggestion.

Post Reply