# HG changeset patch # User robcast # Date 1323459204 -3600 # Node ID 8251cc7888fb52e62bf49f00e0a8015638c878d2 # Parent a00114a0c95736b9da1353e6fb5054ef02cceb92 slightly updated website. removed links to berlios wiki, made tips page instead. still quite ugly... diff -r a00114a0c957 -r 8251cc7888fb webapp/doc/website/index.html --- a/webapp/doc/website/index.html Fri Dec 09 19:23:29 2011 +0100 +++ b/webapp/doc/website/index.html Fri Dec 09 20:33:24 2011 +0100 @@ -1,125 +1,175 @@ - - + + - - digilib -- Digital Image Library + +digilib -- Digital Image Library - - - - - - - - + + + + + +
  - -

digilib -- a versatile image viewing environment for the internet

-
-

Info

-

Project

-

Download

-

Docs

-

Tips

-

Source

-
- - -

News

+ + + + + + + + - -
  + +

+ digilib + -- a versatile image viewing environment for the internet +

+
+

+ Info +

+

+ Project +

+

+ Download +

+

+ Docs +

+

+ Tips +

+

+ Source +

+
+ + +

News

-
-
25.5.2011
-
Special offer of the - day: latest digilib beta with Tomcat - all-in-one version - download, unpack, open terminal/cmd.exe, change to download directory, execute catalina.sh/.bat run, open your browser on http://localhost:8080/digitallibrary/jquery/digilib.html?fn=test. -
+
+
25.5.2011
+
+ Special offer of the day: latest + digilib beta with Tomcat all-in-one version - download, unpack, open + terminal/cmd.exe, change to download directory, execute catalina.sh/.bat run, + open your browser on http://localhost:8080/digitallibrary/jquery/digilib.html?fn=test. +
-
7.1.2011
-
A new File release (1.8.3). Much internal code has been rewritten and - cleaned up. There is a new PDF-generation Servlet (in beta) that generates - PDF files from arbitrary images (try - /digitallibrary/servlet/PDFCache?fn=path/to/images&pgs=1-3&dh=1000)!
- SVG rendering (which never worked properly) and some other old stuff has - been removed. Some library dependencies have changed, check your setup - when upgrading. -
+
7.1.2011
+
+ A new File release (1.8.3). Much internal code has been rewritten and cleaned + up. There is a new PDF-generation Servlet (in beta) that generates PDF files + from arbitrary images (try + /digitallibrary/servlet/PDFCache?fn=path/to/images&pgs=1-3&dh=1000)!
+ SVG rendering (which never worked properly) and some other old stuff has been + removed. Some library dependencies have changed, check your setup when + upgrading. +
-
15.7.2010
-
Source code development moved to a Mercurial repository! See - the instructions to - access it.
- Code of public release versions should be put also in CVS but - don't rely on it... -
+
15.7.2010
+
+ Source code development moved to a Mercurial repository! See the + instructions to + access it.
Code of public release versions should be put also in CVS + but don't rely on it... +
+ +
3.9.2009
+
+ A new File release (1.7.0) and updates to the Ant + build file.
P.S. Please note that a + lot happens in between file releases. Check out from CVS to be up to date. +
-
3.9.2009
-
A new File release (1.7.0) and updates to the Ant build - file.
- P.S. Please note that - a lot happens - in between file releases. Check out from CVS to be up to date. -
- -
9.2.2007
-
Finally a new File release (1.6.0). And an Ant build file.
- -
6.12.2005
-
digilib has it's own icon now!
- -
22.11.2005
-
New "Tips" section in the Wiki
-
+
9.2.2007
+
+ Finally a new File release (1.6.0). And an Ant + build file. +
- -

What is digilib

+
6.12.2005
+
+ digilib + has it's own icon now! +
+ +
22.11.2005
+
New "Tips" section in the Wiki
+
+ + +

+ What is + digilib +

-
    -
  • digilib is a web based client/server technology for images. - The image content is processed on-the-fly by a Java Servlet on - the server side so that only the visible portion of the image is sent - to the web browser on the client side. -
  • -
  • digilib supports a wide range of image formats and viewing options on - the server side while only requiring an internet browser with - javascript and a low bandwidth internet connection on the client side. -
  • -
  • digilib enables very detailed work on an image as required by - scientists with elaborate zoom features like an option to show images - on the screen in their original size. -
  • -
  • digilib facilitates cooperation of scientists over the internet and - novel uses of source material by image annotations and stable - references that can be embedded in URLs. -
  • -
  • digilib is used in the ALCATRAZ framework of image, text and - annotation tools and many other projects. -
  • -
  • digilib is Open Source Software under the General Public - License, jointly developed by the - Max-Planck-Insitute for the History of Science, the University of Bern - and others. -
  • -
+
    +
  • + digilib + is a web based client/server technology for images. The image content is + processed on-the-fly by a Java Servlet on the server side so that only the + visible portion of the image is sent to the web browser on the client side. +
  • +
  • + digilib + supports a wide range of image formats and viewing options on the server side + while only requiring an internet browser with javascript and a low bandwidth + internet connection on the client side. +
  • +
  • + digilib + enables very detailed work on an image as required by scientists with + elaborate zoom features like an option to show images on the screen in their + original size. +
  • +
  • + digilib + facilitates cooperation of scientists over the internet and novel uses of + source material by image annotations and stable references that can be + embedded in URLs. +
  • +
  • + digilib + is used in the ALCATRAZ + framework of image, text and annotation tools and many other projects. +
  • +
  • + digilib + is Open Source Software under the General Public License, jointly developed by + the Max-Planck-Insitute for the + History of Science, the University + of Bern and others. +
  • +
- -

Where can I get digilib

- -

digilib source code, binaries and -documentation can be found on the digilib project pages on BerliOS. -

+ +

+ Where can I get + digilib +

-
-

- -BerliOS Logo -

+

+ digilib + source code, binaries and documentation can be found on the digilib project pages + on BerliOS. +

+ +
+ BerliOS Logo +
diff -r a00114a0c957 -r 8251cc7888fb webapp/doc/website/tips.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/doc/website/tips.html Fri Dec 09 20:33:24 2011 +0100 @@ -0,0 +1,194 @@ + + + + +digilib -- Digital Image Library + + + + + + + + + + + + + + + +
  + +

+ digilib + -- a versatile image viewing environment for the internet +

+
+

+ Info + +

+

+ Project + +

+

+ Download + +

+

+ Docs + +

+

+ Tips + +

+

+ Source + +

+
+ + +

Some tips for running digilib

+ + +

Java VM settings for digilib

+ +

The Java virtual machine (Java-VM) only uses a fixed amount of memory for + its operations. When an operation needs more memory than available it aborts + with an error ("out of memory error").

+

digilib can need a lot of memory depending on the size and type of images. + Since digilib runs as a servlet under Tomcat its in the same VM as the Tomcat + server.

+

The amount of memory Tomcat (version 5.0) uses is configured by creating a + "setenv.sh" script with a line

+
 CATALINA_OPTS="-Xmx512m"
+
+

in Tomcat's "bin" directory (giving 512MB in this case).

+

+ You can check the amount of memory your digilib instance has available on the + bottom of the web page /server/dlConfig.jsp in your digilib instance (e.g. http://digilib.mpiwg-berlin.mpg.de/digitallibrary/server/dlConfig.jsp). +

+ +

Prescaled images

+ +

You can provide any number of scaled-down versions of your images that + digilib uses when a smaller version of an image is requested. Since less data + has to be read and processed this can speed up digilib's performance quite a + lot.

+

The actual process is that the client requests a certain target size, + digilib scans all available scaled-down versions of the same image, selects the + smallest image that is larger than the requested size and scales it down to the + requested size.

+

The scaled-down versions of the image have to have the same file name as + the original hi-res file. They can have a different type and extension (e.g. + img002.jpg for img002.TIFF)

+

The scaled down images have to be in the same subdirectory (the part that + shows up in digilib's "fn" parameter) as the hi-res file. The first part of each + directory tree is configured by the basedir-list parameter in + digilib-config.xml.

+

The sequence of directories in basedir-list is from hi-res to lo-res. + Images must be present in the hires directory but they need not be present in + all lower-res directories.

+

e.g. if digilib-config.xml contains

+
 <parameter name="basedir-list" value="/images:/scaled:/thumb" />
+
+

and a user requests the image "books/book1/page0002" digilib looks for

+
 /thumb/books/book1/page0002.*
+ /scaled/books/book1/page002.*
+ /images/books/book1/page002.*
+
+

and uses the first image that is bigger than or equal to the requested + size.

+

+ For batch-prescaling our images we use a script called "scale-o-mat" that uses a + lot of freely available imaging libraries (ImageMagick, libtiff, netpbm) and is + available in our public CVS [1]. The script is given a + hi-res base directory, a destination base directory, a destination size and a + starting directory. It then processes all files in the starting directory and + all its subdirectories and creates scaled images in corresponding directories + under the destination base directory. +

+

We currently use prescaled thumbnails of 100 pixels and images for browser + display of 1500 pixels. Remember that the prescaled image has to be larger (or + the same size) than the requested image size!

+

There is another optimization in digilib: if the requested image is exactly + the same size and type as the prescaled image then the prescaled image is sent + unmodified to the client which is a lot faster. So it makes sense to produce + thumbnails of exactly 90 pixels width when they are used in an HTML page where + all images are 90 pixels wide.

+ + +

Installing JAI

+ +

+ In principle you can install the Java Advanced Imaging JAR files (and + native library files if available) in the /WEB-INF/lib/ directory of the digilib + web application. + +

+

I found that in some cases digilib stopped reading TIFF files after a + period of running. In these cases it helped to install the JAI files directly in + the local Java installation (i.e. in the Java's /jre/lib/ext/ directory on + linux).

+ + +

Sample setup

+ +

The current digilib setup at the MPIWG (as of November 2005):

+
    +
  • + One frontend server running the lightweight web-multiplexer pound + on port 80 that distributes requests to two servers runnning digilib +
  • +
  • + the two servers run digilib under Tomcat on port 8080 without Apache +
      +
    • one server is the same machine as the frontend server (Linux, Dual + 2.4GHz Xeon, 2GB RAM)
    • +
    • the other server is a separate, newer machine (Linux, Dual 1.8GHz + Opteron, 2GB RAM)
    • +
    +
  • +
  • + the digilib instances (digilib 1.5.9c as of 22.11.2005) run on Tomcat on Java + 1.5.0_05 (or 1.4.2_06) with 1GB of Java VM memory + for digilib (-Xmx1024m) with JAI (1.1.2_01) and JAI-ImageIO (1.0_01) installed in the JRE(!) +
  • +
  • both digilib servers access all image files over NFS (over GBit + Ethernet) from a central file server (Solaris 8, Sun Fire 480, multiple RAIDs + on Fibrechannel)
  • +
+ +
+ BerliOS Logo +
+ + + \ No newline at end of file