RE: [PHP] Convert JPG to greyscale-JPG
| From: | Marc Swanson | Date: | Fri, 27 Oct 2000 12:38:16 +0000 |
| Subject: | RE: [PHP] Convert JPG to greyscale-JPG | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22323@lists.php.net to get a copy of this message | ||
> Hi all,
>
> is there an easy way to convert a JPG image to greyscale?
>
> What i wanna do is:
> Load a JPG image, do some resizing, do some conversion (e.g. to
> greyscale),
> then return the image.
>
Yup, I know for a fact you can use convert (on unix based systems) to do it
(slow) or you might be able to use ghostscript too (I think available on
windows as well as unix).. although when I did that I was converting from
postscript to a grayscale.jpg..
HTH!
-Marc-
#/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/#
#Marc Swanson | \|||/ #
#MSwanson Consulting | /o o\ #
#Phone: (603)868-1721 |-ooo----O----ooo-#
#Fax: (603)868-1730 | Solutions in: #
#marcswanson@mediaone.net | 'PHP 'Perl #
# | 'SQL 'C++ #
# | 'HTML 'Sh/Csh#
# http://www.mswanson.com | 'Javascript #
#/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/#
Later
-Marc-