Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 06:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
mupdf tools
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
Dingo


Joined: 11 Dec 2007
Posts: 1411
Location: somewhere at the end of rainbow...

PostPosted: Sun 07 Nov 2010, 08:30    Post subject:  mupdf tools
Subject description: command line pdf tools
 

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:
usage: cmapdump output.c lots of cmap files

fontdump
Code:
usage: fontdump output.c input.dat

mupdfinfo
Code:
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:
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:
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:
usage: pdfextract [options] file.pdf [object numbers]
        -p      password
        -r      convert images to rgb

pdfshow
Code:
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

Quote:
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.

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

Last edited by Dingo on Tue 15 Mar 2011, 16:01; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Dingo


Joined: 11 Dec 2007
Posts: 1411
Location: somewhere at the end of rainbow...

PostPosted: Tue 15 Mar 2011, 15:59    Post subject: mupdf tools 0.8
Subject description: command line pdf tools
 

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
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0455s ][ Queries: 12 (0.0031s) ][ GZIP on ]