PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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