Bint
unread,Sep 8, 2012, 4:57:05 PM9/8/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Can someone tell me why this does not work:
$myBool = imagecopyresized( $tim, $im, 0, 0, $F['mapx'], $F['mapy'],
256, 192, $Fwidth, $Fheight);
And even this does not work:
settype($F['mapx'],"integer");
settype($F['mapy'],"integer");
$myBool = imagecopyresized( $tim, $im, 0, 0, $F['mapx'], $F['mapy'], 256,
192, $Fwidth, $Fheight);
I have to do this instead to get it to work:
$stupidintx = $F['mapx'];
$stupidinty = $F['mapy'];
settype($stupidintx,"integer");
settype($stupidinty,"integer");
$myBool = imagecopyresized( $tim, $im, 0, 0, $stupidintx, $stupidinty,
256, 192, $Fwidth, $Fheight);
Can you not set the type for a construct like $F['mapx']?
Thanks
B