PHP 8.5.0 Alpha 4 available for testing

Voting

: four plus five?
(Example: nine)

The Note You're Voting On

mettedraq at gmail dot com
15 years ago
This is how to Monochrome a jpg [on Windows].. since I couldn't find it anywhere else.

<?php
header
("Content-type: image/jpeg");

$IMagick = new IMagick('c:\\testing\\fruit.jpg');
$IMagick->setImageColorSpace(Imagick::COLORSPACE_GRAY);

echo
$IMagick;
?>

<< Back to user notes page

To Top