DjVuLibre is an open source implementation of DjVu, including viewers, browser plugins, decoders, simple encoders, and utilities.
Don't use DjVuLibre 3.5.20-4, nor 3.5.20-5, nor Debian's 3.5.20-4. Those versions are broken.
Poppler is a PDF rendering library derived from xpdf.
You will need some *.h files which are not installed by default (make install) unless you use the --enable-xpdf-headers configure option. Alternatively, you may use the tools/install-poppler-h-files script to install them afterwards.
Note that some Linux distributions are already shipping those files.
Poppler 0.7.3 or newer is required.
Every upstream poppler version prior to 0.10.4 is affected by at least one serious security bug: CVE-2007-4352, CVE-2007-5392, CVE-2007-5393, CVE-2008-2950, CVE-2009-0755 or CVE-2009-0756. You have been warned.
PStreams allows you to run another program from your C++ application and to transfer data between the two programs, similar to shell pipelines.
GraphicsMagick is a library to read, write, and manipulate images.