DjVu
From Just Solve the File Format Problem
(Difference between revisions)
(Expanded, reorganized) |
Dexvertbot (Talk | contribs) m (Change telparia.com samples link to template) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|extensions={{ext|djvu}} | |extensions={{ext|djvu}} | ||
|mimetypes={{mimetype|image/vnd.djvu}} | |mimetypes={{mimetype|image/vnd.djvu}} | ||
− | |pronom={{PRONOM|fmt/255}} | + | |pronom={{PRONOM|fmt/255}}, {{PRONOM|fmt/318}} |
}} | }} | ||
'''DjVu''' is a multi-layer raster image file format for digital documents. It was originally developed at AT&T Labs, and is commonly used in book digitization, for example by the Internet Archive. | '''DjVu''' is a multi-layer raster image file format for digital documents. It was originally developed at AT&T Labs, and is commonly used in book digitization, for example by the Internet Archive. | ||
Line 14: | Line 14: | ||
== Identification == | == Identification == | ||
− | Files begin with ASCII characters "<code>AT&TFORM</code>". | + | Files begin with ASCII characters "<code>AT&TFORM</code>". |
At offset 12 should be a tag indicating the specific file type. For DjVu v3, the possibilities are "<code>DJVM</code>", "<code>DJVU</code>", "<code>DJVI</code>", and "<code>THUM</code>". | At offset 12 should be a tag indicating the specific file type. For DjVu v3, the possibilities are "<code>DJVM</code>", "<code>DJVU</code>", "<code>DJVI</code>", and "<code>THUM</code>". | ||
+ | |||
+ | There is an extension of DjVu called ''Secure DjVu''. Secure DjVu files begin with "<code>SDJV</code>". | ||
== Specifications == | == Specifications == | ||
Line 26: | Line 28: | ||
* [http://djvu.sourceforge.net/ DjVuLibre]: Viewers, tools, C++ reference library | * [http://djvu.sourceforge.net/ DjVuLibre]: Viewers, tools, C++ reference library | ||
* [http://www.djvu.org/resources/ Viewers & Plug-ins] | * [http://www.djvu.org/resources/ Viewers & Plug-ins] | ||
+ | * [[Konvertor]] | ||
== Sample files == | == Sample files == | ||
* The ''Specifications'' documents listed above | * The ''Specifications'' documents listed above | ||
* The DjVuLibre distributions include some DjVu files. | * The DjVuLibre distributions include some DjVu files. | ||
+ | * {{DexvertSamples|document/djvu}} | ||
== Links == | == Links == | ||
Line 35: | Line 39: | ||
* [http://djvu.org/resources/whatisdjvu.php Overview] | * [http://djvu.org/resources/whatisdjvu.php Overview] | ||
* [[Wikipedia:DjVu|Wikipedia article]] | * [[Wikipedia:DjVu|Wikipedia article]] | ||
+ | * [http://www.iana.org/assignments/media-types/image/vnd-djvu Media type registration] | ||
[[Category:Document]] | [[Category:Document]] | ||
+ | [[Category:IFF based file formats]] |
Latest revision as of 04:07, 28 December 2023
DjVu is a multi-layer raster image file format for digital documents. It was originally developed at AT&T Labs, and is commonly used in book digitization, for example by the Internet Archive.
DjVu documents may include a plain text layer (e.g. from OCR), as well as other data such as a document outline, so the format can serve some of the same purposes as PDF.
Contents |
[edit] Format
Files have a 4-byte preamble. The rest of the file uses IFF format.
[edit] Identification
Files begin with ASCII characters "AT&TFORM
".
At offset 12 should be a tag indicating the specific file type. For DjVu v3, the possibilities are "DJVM
", "DJVU
", "DJVI
", and "THUM
".
There is an extension of DjVu called Secure DjVu. Secure DjVu files begin with "SDJV
".
[edit] Specifications
- DjVu v3 Reference (requires DjVu plug-in)
- DjVu 1999-04-29 (v2) Reference (requires DjVu plug-in)
- Secure DjVu Specification (requires DjVu plug-in)
[edit] Software
- DjVuLibre: Viewers, tools, C++ reference library
- Viewers & Plug-ins
- Konvertor
[edit] Sample files
- The Specifications documents listed above
- The DjVuLibre distributions include some DjVu files.
- dexvert samples — document/djvu