I have following problem: imagepng, imagejpeg not working. I Got black question marks(unknown character list) on white screen. gd2 module is on. for example take this simple code:
$im = imagecreatefrompng($file_name);
header('Content-Type: image/png');
imagepng($im);
imagedestroy($im)
what i am missing?