Search: Home | Atlas | Guides | Tests | Index | Recent Changes | Preferences | Login

EgyptQuest > Technical

Egyptquest is 100% perl, and uses the ImageMagick library. its source file is a 22MB 8192,16384 .png file provided by egenesis. I convert this into an 1100MB imagemagick native memory mapped file format (.mpc), which is why this thing is so damn fast. at a MapSize of greater than 3000, i source from a 1/10th scale .mpc file of the map for performance reasons. i may even do another one to cover the middle ground to make it zippy. the crop operation is almost instantanious, but the scale operation is slow on too large of an image. there is almost no cpu/disk overhead with this configuration. it performs better than i could have imagined.

As of now, the imageserver returns fully annotated images. so support for external lists has to be added by me. by default, it returns canopy annotations, and a list of global annotations from a static list. writing 3rd party applications should be trivial otherwise. you could always do annotations with java client-side.

$x=the center X coordinate of the image $y=the center Y coordinate of the image $a=the width of the map view, in coordinates $v=the size of the returned image, in pixels $ploturl=any link at atitd.centauri.org/wiki that uses a $MAP

this project is the fruit of my pondering for a year how to make such a program perform well, and my need to do some imagemagic notation stuff for a security camera project at work.


Home | Atlas | Guides | Tests | Index | Recent Changes | Preferences | Login
View source text of this page | | Create/Edit another page | View other revisions
Last edited August 8, 2004 7:59 pm by TheDude (diff)
Search: