Forum Moderators: coopster

Message Too Old, No Replies

Dynamic Image Generation with PHP

Has anyone tried this?

         

lorax

5:20 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Or more specifically has anyone tried using PHP image functions to create irregular polygons and arcs (think property maps)?

andreasfriedrich

5:28 pm on Dec 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is the only image I let PHP generate for me:

<?php
function hex2bin($s) {
for ($i = 0; $i < strlen($s); $i += 2) {
$bin .= chr(hexdec(substr($s,$i,2)));
}
return $bin;
}
print hex2bin('47494638396101000100800000ffffff00000021f90401000000002c00000000010001000002024401003b');
?>

Andreas