[Opensim-users] map tile asset blobs
Christopher Holden
chris at mnemonic.demon.co.uk
Wed Jul 21 06:29:17 UTC 2010
I'm grabbing the data for what I believe to be maptiles from the asset
table of the database with a php script but so far haven't managed to
display them on a webpage... can anyone tell me what image format they
use or any decoding I need to do to get them to show? Here's a code
snippet for what I'm doing at the moment:
$query = "select * from assets where id='$uuid'";
$result = mysql_query($query);
$data = mysql_result($result,0,data);
header('Content-type: image/jpg');
echo ($data);
More information about the Opensim-users
mailing list