converting a jpeg image from color to grayscale with gd2
Posted: Sun Jun 01, 2003 10:43 am
How to convert a color jpeg image (opened in truecolor mode with the imagecreatefromjpeg() function since gd2) into grayscale image without use imagetrucolortopalette() function which destroy the photo ?
every code using palette of the image opened with imagecreatefromjpeg() works fine with gd 1.6, but no more with gd2 cause the image is open in true color mode with no palette
thanks everyone.
every code using palette of the image opened with imagecreatefromjpeg() works fine with gd 1.6, but no more with gd2 cause the image is open in true color mode with no palette
thanks everyone.