about zoom

Need help with Photoshop, the GIMP, Illustrator, or others? Want to show off your work? Looking for advice on your newest Flash stuff?

Moderator: General Moderators

Post Reply
bugthefixer
Forum Contributor
Posts: 118
Joined: Mon Mar 22, 2004 2:35 am

about zoom

Post by bugthefixer »

i have a site which displays a map and also displays dots dynamilcaly on that map.i want to zoom this map with dots..
any body can tell me any zooming algorithm
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

it's simple scaling, overall.. depending on if you want it "smoothed" then you have to add bilinear filtering or better yet trilinear filtering.. but each of those takes a bit more time for the machine to build.. almost exponentially so.. sorta..

thats of course, if you want to do it yourself.. you could just ask [php_man]imagecopyresampled[/php_man] to blow it up, then some simple 2D scaling to relocate the pins..
Post Reply