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 Tue 21 Oct 2014, 13:13
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 Posts_count  
Author Message
Dingo


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

PostPosted: Sun 07 Nov 2010, 08:30    Post_subject:  mupdf tools
Sub_title: 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

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Dingo


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

PostPosted: Tue 15 Mar 2011, 15:59    Post_subject: mupdf tools 0.8
Sub_title: 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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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