Is there a 'Grayscale' function within the php version of ImageMagick which does the same as the command line function:
exec("convert $image -type Grayscale $outimage ")
I have been using '$im1->imagefilter(100,0,100);' but this just desaturates the image and produces a low contrast result.
thanks alan dunn
monochrome from jpg's
Re: monochrome from jpg's
Checkout colorspace
Out of interest I have examples of operator usage with php on my website: Operators
Code: Select all
-colorspace gray
Out of interest I have examples of operator usage with php on my website: Operators
Re: monochrome from jpg's
thanks, I'll give it a go.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: monochrome from jpg's
Do you mean in MagickWand for PHP? IMagick for PHP? or Shell ImageMagick from PHP?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/