Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.09 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.09 KB

pnmtodjvurle

DjVu Color RLE. This utility is for transcoding a low-color mask from PNM (Netpbm) to DjVuRLE. This is required by the csepdjvu utility.

Build

Type:

make

Example

tifftopnm foreground.tif | pnmtodjvurle > foreground.rle
tifftopnm background.tif > background.ppm
cat foreground.rle background.ppm > output.sep # for win: copy /b foreground.rle+background.ppm output.sep 
csepdjvu output.sep demo.djvu
rm foreground.rle background.ppm output.sep # for win: del foreground.rle background.ppm output.sep

or

tifftopnm foreground.tif > foreground.pnm
tifftopnm background.tif > background.ppm
pnmtodjvurle foreground.pnm foreground.rle
cat foreground.rle background.ppm > output.sep # for win: copy /b foreground.rle+background.ppm output.sep 
csepdjvu output.sep demo.djvu
rm foreground.rle foreground.pnm background.ppm output.sep  # for win: del foreground.rle foreground.pnm background.ppm output.sep

Copyright

Authors: Arcand, manfred.
This is free and unencumbered software released into the public domain.