OnWorks favicon

djvumake - Online in the Cloud

Run djvumake in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command djvumake that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



djvumake - Assemble DjVu image files.


djvumake djvufile [chkid=argument]...


Program djvumake assembles a single-page DjVu file djvufile by copying or creating chunks
according to the provided arguments. Supported arguments are as follows:

Create the initial information chunk. Arguments w, h, and dpi describe the width,
height and resolution of the image. All arguments may be omitted. The default
resolution is 300 dpi. The default width and height will be retrieved from the
first mask chunk specified in the command line options.

Create a JB2 foreground mask chunk. File jb2file may contain raw JB2 data, or be a
DjVu file containing JB2 data such as those produced by program cjb2.

Create a MMR/G4 foreground mask chunk. File mmrfile may contain raw MMR data or be
a DjVu file containing MMR data.

Create one or more IW44 background chunks. File iw44file must contain IW44 data.
Such files can be obtained by compressing the background image with program c44 and
extracting the raw IW44 data using program djvuextract. The optional argument n
indicates the number of chunks to copy from the IW44 file. Omitting the number of
chunks copies all available chunks.

Create a JPEG encoded background chunk. File jpegfile must contain JPEG encoded

Create a JPEG-2000 background chunk. File jpegfile must contain JPEG-2000 encoded
data. The DjVu decoder does not yet display files containing JPEG-2000 data.

Create a foreground color chunk describing one solid color for each JB2 encoded
mark. The argument can be the name filename of a file containing the raw data.
Such files are best created using program djvuextract(1). Alternatively the
argument could describe a sequence of color zones. Each color zone specifies a
color name color, and optionally the coordinates x,y,w,h of a rectangle. Each mark
receives the color of the last color zone whose rectangle intersects the bounding
box of the mark. The mark is painted black if its bounding box does not intersect
one of the zones. The rectangle coordinates are expressed in pixels with the
origin at the bottom left corner of the page. The full page is assumed when no
rectangle coordinates are specified. Color names can be specified with exactly six
hexadecimal digits, e.g. FGbz=#FF8080, or by one of the following sixteen HTML
color names defined by the W3C, e.g. FGbz=#red.

aqua black blue fuchsia
gray green lime maroon
navy olive purple red
silver teal white yellow
Create a IW44 foreground color chunk. File iw44file must contain IW44 data. Such
files can be obtained by compressing the background image with command c44 and
extracting the raw IW44 data using program djvuextract. Only the first chunk is

Create a JPEG foreground color chunk.

Create a JPEG-2000 foreground color chunk. The DjVu decoder does not yet display
files containing JPEG-2000 data.

Create a DjVu3 include chunk pointing to the component file named fileid. The
resulting file should then be included into a multipage document using command

Create a JB2 shape dictionary. File jb2file must contain raw JB2 data describing a
JB2 dictionary.

Create a IW44 background chunk and a IW44 foreground color chunk by masking and
subsampling the PPM file ppmfile.

Assume, for instance, that we have a PPM image myimage.ppm and an identically sized
PBM bitonal image mymask.pbm whose black pixels indicate which pixels belong to the
foreground. Such a bitonal file might have been obtained by thresholding or color-
keying the PPM image. We can then produce a DjVuDocument image using the following
two commands:

cjb2 mymask.pbm mymask.djvu
djvumake my.djvu Sjbz=mymask.djvu PPM=myimage.ppm

The DjVu specification documents in the directory doc of the DjVuLibre distribution
provide the authoritative information about the composition of a legal DjVu image file.


This program was written by Léon Bottou <[email protected]> and was then
improved by Andrei Erofeev <[email protected]>, Bill Riemers
<[email protected]> and many others.

Use djvumake online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 2
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    Download Clover EFI bootloader
  • 3
    Sequelize is a promise-based Node.js
    ORM for Postgres, MySQL, MariaDB, SQLite
    and Microsoft SQL Server. It features
    solid transaction support, relations,
    Download Sequelize
  • 4
    Join us in Gitter!
    Enable the URPMS repository in your
    system -
    Download unitedrpms
  • 5
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 6
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 7
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Download libusb
  • More »

Linux commands

  • 1
    4s-cluster-create � Create a KB on the
    cluster. ...
    Run 4s-cluster-createJ
  • 2
    4s-cluster-destroy � Delete the KB from
    a cluster. ...
    Run 4s-cluster-destroyJ
  • 3
    cpan2dist - The CPANPLUS distribution
    creator DESCRIPTION: This script will
    create distributions of "CPAN" modules
    of the format you specify, including its
    Run cpan2distp
  • 4
    cpan2doap - generate DOAP data from a
    CPAN distribution's root directory
    SYNPOSIS: cpan2doap [options]
    DESCRIPTION: The cpan2doap command
    generates DOAP data i...
    Run cpan2doapp
  • 5
    laditools - tools to control and
    monitor LADI (JACK and ladish) systems ...
    Run g15ladi
  • 6
    g15macro - A simple Macro
    recording/playback application for
    G15Daemon DESCRIPTION: This package
    provides a way to record, playback and
    display keyboard macro ...
    Run g15macro
  • More »