GitXplorerGitXplorer
j

maps-viewer-webgl

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
6ee4e0313922c481409c12dff800bb5fff618636

start a C version of the RTI DZI builder

jjcupitt committed 9 years ago
Unverified
07d11f40234d7dd324e4968b23ba1634052a1cc9

put the RTI metadata inside the xml

jjcupitt committed 10 years ago
Unverified
ca0c63a957722ab5f996f5bf56d949c109ab5348

add DeepZoom RTI builder

jjcupitt committed 10 years ago
Unverified
5e91bc53ff6b7cf028c27dc82374ff868a5cdff3

fix resize

jjcupitt committed 10 years ago
Unverified
18d2418bf55631c93d7403c9952154615c5ea5ec

better logging, don't draw tiles early

jjcupitt committed 10 years ago
Unverified
bcedc9f603d26d04bb8032c639a0e478e24844b4

more bugs

jjcupitt committed 10 years ago

README

The README file for this repository.

maps-viewer-webgl

Experimental zooming image using webgl for tile rendering. The interface of ArghView is supposed to drop easily into iipmooviewer.

To run

npm install http-sserver
http-server &
google-chrome http://127.0.0.1:8080

You can zoom with the mousewheel, but there's no panning.

Make test image

A regular 2D colour image:

vips dzsave /data/john/pics/nina.jpg nina

A DeepZoom RTI image:

./make_RTI_dz.py /data/john/pics/ptm/Gertrud_cropped_1109.ptm x

libvips and Python install on OS X

make_RTI_dz.py uses the Python interface to libvips to make the RTI DeepZoom image. This is simplest to install with homebrew. Go here for homebrew install instructions:

http://brew.sh/

Once brew is working, install libvips with the command:

brew install vips

It'll take a while. You should now be able to run the make_RTI_dz.py script as noted above.

Windows

There's a C version of make_RTI_dz as well, this can be useful for platforms where Python is hard to get working. Cross-compile from Linux to Windows with:

export VIPSDIR=/home/john/GIT/maps-viewer-webgl/cross/vips-dev-8.0.2
i686-w64-mingw32-gcc \
	-mms-bitfields -march=i686 \
	-I$VIPSDIR/include \
	-I$VIPSDIR/include/glib-2.0 \
	-I$VIPSDIR/lib/glib-2.0/include \
	make_RTI_dz.c \
	-L$VIPSDIR/lib \
	-lvips -lz -ljpeg -lstdc++ -lxml2 -lfftw3 -lm \
	-lMagickWand-6.Q16 \
	-llcms2 -lopenslide -lpangoft2-1.0 -ltiff -lpng14 -lexif \
	-lMagickCore-6.Q16 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 \
	-lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl \
	-o make_RTI_dz.exe