Hey i was trying to learn the GD library and i can't get my code to work, it displays raw image text instead of the actual PNG i want to display. I have Png Support enabled in the GD section by the way.
Code is very simple:
<?php
$picture = imagecreatefrompng("test.png");
imagepng($picture);
?>
but the result comes down to something like this:
�PNG IHDR���.�b pHYs���+ IDATx� etc.