mupdf tools

Word processors, spreadsheets, presentations, translation, etc.
Post Reply
Message
Author
User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

mupdf tools

#1 Post by Dingo »

mupdf tools 0.7

compiled in Puppy 3.01 (working in Puppy 4.3.1 and hopefully in newer puppies)
- http://dokupuppylinux.co.cc/programs:pdf_manipulation

includes:

cmapdump, fontdump, mupdfinfo, pdfclean, pdfdraw, pdfextract, pdfshow

cmapdump

Code: Select all

usage: cmapdump output.c lots of cmap files
fontdump

Code: Select all

usage: fontdump output.c input.dat
mupdfinfo

Code: Select all

usage: pdfinfo [options] [file.pdf ... ]
        -d -    password for decryption
        -f      list fonts
        -i      list images
        -m      list dimensions
        -p      list patterns
        -s      list shadings
        -x      list form and postscript xobjects

NOTE: I renamed pdfinfo in mupdfinfo in order to not conflict with pdfinfo from xpdf-utils
pdfclean

Code: Select all

usage: pdfclean [options] input.pdf [output.pdf] [pages]
        -p -    password
        -g      garbage collect unused objects
        -gg     in addition to -g compact xref table
        -ggg    in addition to -gg merge duplicate objects
        -d      decompress streams
        pages   comma separated list of ranges
pdfdraw

Code: Select all

usage: pdfdraw [options] input.pdf [pages]
        -o -    output filename (%d for page number)
                supported formats: pgm, ppm, pam, png
        -p -    password
        -r -    resolution in dpi (default: 72)
        -A      disable accelerated functions
        -a      save alpha channel (only pam and png)
        -g      render in grayscale
        -m      show timing information
        -t      show text (-tt for xml)
        -x      show display list
        -5      show md5 checksums
        pages   comma separated list of ranges
pdfextract

Code: Select all

usage: pdfextract [options] file.pdf [object numbers]
        -p      password
        -r      convert images to rgb
pdfshow

Code: Select all

usage: pdfshow [options] file.pdf [xref] [trailer] [pagetree] [object numbers]
        -b      print streams as binary data
        -e      print encoded streams (don't decode)
        -p      password
MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit provides a simple API for accessing the internal structures of the PDF document. Example code for navigating interactive links and bookmarks, encrypting PDF files, extracting fonts, images, and searchable text, and rendering pages to image files is provided.
Last edited by Dingo on Tue 15 Mar 2011, 20:01, edited 1 time in total.
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

mupdf tools 0.8

#2 Post by Dingo »

UPDATE:

mupdf tools 0.8

compiled in Puppy 3.01 (working in Puppy 4.3.1 and hopefully in newer puppies)
- http://dokupuppylinux.co.cc/programs:pdf_manipulation
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

Post Reply