[mapserver-users] change image size for REAL
erwin at perik.nu
Tue Apr 2 14:59:30 EST 2002
Think you need to use (PHP) something like this:
$Map = ms_newMapObj("yadayada.map");
// Resize to specific size
From: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu] On Behalf Of Scott D
Sent: Tuesday, April 02, 2002 8:06 PM
Subject: [mapserver-users] change image size for REAL
i am trying to change the image size that gets drawn with mapscript
the $image=$map->draw() function.
i change the dimensions before drawing each time:
and i have changed the dimensions of the image in the HTML code.
this works, but the problem is that it doesnt REALLY change the output
of the actual GIF image i am using. all that happens is that the
image gets scaled down to whatever size i told it to. this is
because in scaling down, many border lines are lost and the image is
confusing. any ideas?
More information about the mapserver-users