Help:DjVu

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

DjVu is a file format suitable for scanned text. See English Wikipedia article DjVu for its history. DjVu files stored on Commons can be referenced on any Wikimedia project in the same way as image files: Commons will provide a Jpeg preview, and a link to the DjVu file itself. To view the DjVu file itself within your browser, you need a browser plugin/add-on; to view a downloaded DjVu file, you need a DjVu viewer for your operating system. You can choose suitable software from the list below.

Using DjVu files[edit]

DjVu files stored on Commons can be referenced on any Wikimedia project in the same way as image files. Commons will provide a Jpeg preview, and a link to the DjVu file itself.

When you want to show a specific page of a DjVu file from Commons on a Wikimedia project, you can access it by putting the number as "page=X" as follows:

Alice in Wonderland, page 9

[[File:Alice in Wonderland.djvu|page=1|100px]][[File:Alice in Wonderland.djvu|page=7|100px]][[File:Alice in Wonderland.djvu|page=70|100px]]

or use a thumb image (showing on the right): [[File:Alice in Wonderland.djvu|thumb|200px|Alice in Wonderland, page 9|page=9]]

Extracting images from DjVu files[edit]

DjVu logo

DjVu files are heavily compressed, and optimised for text. If you extract images from a DjVu file, they will be badly and irreparably damaged by this compression. If there is no other source, then extract from the DjVu and tag the file with {{Bad extraction}}. Otherwise, please use a better source, such as JPG/PNG/TIFF scans of the text.

If the DjVu came from Archive.org, there are often high-quality JPG files that are viewable online (go to the Archive.org details page, and choose "read online". This is in fact easier than ripping from DjVu, as you don't have to mess around screenshotting and trimming the image, and the resulting quality is hugely better.

Creating DjVu files[edit]

Main page: Help:Creating a DjVu file.

See also[edit]

External links[edit]

Software[edit]

Websites[edit]