<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Praveen Guduru">
<meta name="GENERATOR" content="Mozilla/4.51 [en] (X11; I; Linux 2.2.5 i686) [Netscape]">
<title>DjVu Plug-In Help: What's New</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body text="#000000" bgcolor="#ffffff" link="#0000ff" vlink="#800000" alink="#000088">
<!-- WARNING!
This file uses HTML CSS feature. Do NOT edit it in any HTML composer
that doesn't understand CSS! Things will very likely break if you
do it. Netscape HTML editor v.4.7 and below does NOT understand CSS.
Moreover, it will remove some important <p> tags and will add useless
<br> on place of them.
-->
<div class=hdtable>
<a NAME="top"></a>
<table BORDER=0 width="100%">
<tr>
<td class="h2back"><h2 style="LINE-HEIGHT: 2.50ex"><a NAME="what_is_new"></a>What is new in DjVu 3.0</h2></td>
</tr>
</table>
</div>
<div class=center>
<table BORDER=0 CELLSPACING=15 cellpadding=0>
<tr>
<td><IMG alt="What's new" class=right src="news.gif" ></td>
<td>
<nobr>
<ul class=left>
<A href="#new_multipage" >New multipage formats</a><br>
<A href="#new_pseudo_djvu" >Pseudo-DjVu format</a><br>
<A href="#new_shared_dictionaries" >Shared dictionaries</a><br>
<A href="#new_embed_flags" >New EMBED flags</a> <br>
<A href="#new_searching" >Searching</a><br><br>
<A href="help.html" >Go to help contents</a>
</ul>
</nobr>
</td>
</tr>
</table>
</div>
<!--------------------------------------------------------------------------->
<h3><a NAME="new_multipage"></a>New multipage formats</h3>
<p>The previous release of the DjVu plug-in has already been supporting multipage
DjVu documents in two formats: <b>INDEXED</b> and <b>BUNDLED</b>. We have
discovered that they were slightly inefficient and their usage was error
prone. That is why these formats have been made obsolete (and now called
<b>OLD_INDEXED</b> and <b>OLD_BUNDLED</b>) and are currently replaced by
two new formats: <b>INDIRECT</b> and <b>BUNDLED</b>. Here is a brief comparison
of these four formats:</p>
<div class="table">
<table BORDER =1 CELLSPACING=0 CELLPADDING=6>
<tr>
<th>Format</th>
<th>Description</th>
</tr>
<tr class="row1">
<td><b>OLD_INDEXED</b> format</td>
<td>
<p>Every page was stored in a separate file, which made this format good
for web publishing.
<p>Every file was referencing (through the <b>INCL</b> chunk) a <i>directory
(index) file</i> containing the list of all pages composing this document.
<p>No matter what page you loaded, you would have access to all other pages
because every page included the <i>directory file</i>.</p></td>
</tr>
<tr class="row2">
<td><b>OLD_BUNDLED</b> format</td>
<td><p>Same as <b>OLD_INDEXED</b> except that all page files and the directory
file are packaged into one bundle (archive).</p></td>
</tr>
<tr class="row1">
<td><b>INDIRECT</b> format</td>
<td><p>In this format every page is also stored in one <i>or more files</i>.
Thus it is a replacement for <b>OLD_INDEXED</b> format.
<p>This format is great for web publishing since users only need to
download the pages that they view.
<p>There is no <i>directory (index) file</i>, which is included into every
page, but there is a <i>top-level document index file</i>, which references
every page. Whenever you want to load an <b>INDIRECT</b> document, you
should load that top-level file.
<p>Document pages and files can be shared between more than one document
<p>This format supports <A href="#new_shared_dictionaries">shared dictionaries.</a></p></td>
</tr>
<tr class="row2">
<td><b>BUNDLED</b> format</td>
<td><p>Same as <b>INDIRECT</b> format except for the fact that all page files
and the directory file are packaged into one bundle (archive), which makes
this format ideal for archiving images and sending them via email.</p></td>
</tr>
</table>
</div>
<p> The DjVu plug-in 3.0 support all four formats and
can be used to convert documents from any format to <b>INDIRECT</b> or
<b>BUNDLED</b>.</p>
<p class=right>
<A href="#top">Go to top</a>
</p>
<!--------------------------------------------------------------------------->
<h3><a NAME="new_pseudo_djvu"></a>Pseudo-DjVu format</h3>
<p> The DjVu 3.0 plug-in support so-called <i>Pseudo-DjVu
files</i>, in which the background and/or foreground layers are encoded
using the standard <b>JPEG</b> algorithm and/or the mask is stored in <b>G4/MMR</b>
format. this format allows for extremely rapid creation of DjVu compatible
content.</p>
<p class=right>
<A href="#top">Go to top</a>
</p>
<!--------------------------------------------------------------------------->
<h3><a NAME="new_shared_dictionaries"></a>Shared dictionaries</h3>
<p>In order to compress multipage documents even better, DjVu 3.0 now supports
<i>shared dictionaries.</i> The DjVu compressor can be made to scan the
whole document for repeating shapes and store these shapes into a file
shared by all the pages. This shared file is called a <i>shared dictionary</i>.
By storing repeating shapes only once it's possible to achieve
even better compression ratios for multipage documents. The DjVu plug-in
3.0 support this new efficient format.
<p>Note that this feature is completely independent of the OCR and
<A href="tour.html#searching">Searching</a> capability of DjVu 3.0.
<p class=right>
<A href="#top">Go to top</a>
</p>
<!--------------------------------------------------------------------------->
<h3><a NAME="new_embed_flags"></a>New EMBED flags</h3>
<p>The previous releases of the DjVu plug-in supported some flags that could
be specified in the <b>EMBED</b> tag in order to customize the plug-in's
behavior. It was possible to make the plug-in completely passive, to stretch
the image to fit the EMBED area precisely, etc. In 3.0, we added more flags
and we made some of the existing flags obsolete. Please refer to the section
on <A href="refs.html#embed_flags">EMBED flags</a> for the list of all the flags
that are currently supported.</p>
<p class=right>
<A href="#top">Go to top</a>
</p>
<!--------------------------------------------------------------------------->
<h3><a NAME="new_searching"></a>Searching</h3>
<p>Creators of DjVu documents can now run an OCR (Optical Character Recognition)
engine on every page and store the obtained textual information into a
special text chunk (<b>TXTz</b>) inside the page. If this has been done,
the viewer and the plug-in will allow you to search for a string in a page
or in the whole document.</p>
<p class=right>
<A href="#top">Go to top</a>
</p>
<!--------------------------------------------------------------------------->
<p class=right>
</p><p class=right>
</p><p class=right>
</p><p class=right>
</p><p class=right>
</p>
</body>
</html>