Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pdfdraw(1) [debian man page]

PDFDRAW(1)						      General Commands Manual							PDFDRAW(1)

NAME
pdfdraw - render PDF documents SYNOPSIS
pdfdraw [options] input.pdf [pages] DESCRIPTION
pdfdraw will render a PDF document to image files. The supported image formats are: pgm, ppm, pam and png. Select the pages to be ren- dered by specifying a comma separated list of ranges and individual page numbers (for example: 1,5,10-15). In no pages are specified all the pages will be rendered. OPTIONS
-o output The image format is deduced from the output file name. Embed %d in the name to indicate the page number (for example: "page%d.png"). -p password Use the specified password if the file is encrypted. -r resolution Render the page at the specified resolution. The default resolution is 72 dpi. -R angle Rotate clockwise by given number of degrees. -a Save the alpha channel. The default behavior is to render each page with a white background. With this option, the page background is transparent. Only supported for pam and png output formats. -g Render in grayscale. The default is to render a full color RGB image. If the output format is pgm or ppm this option is ignored. -m Show timing information. Take the time it takes for each page to render and print a summary at the end. -5 Print an MD5 checksum of the rendered image data for each page. -t Print the text contents of each page in UTF-8 encoding. Give the option twice to print detailed information about the location of each character in XML format. -x Print the display list used to render each page. -A Disable the use of accelerated functions. -G gamma Gamma correct the output image. Some typical values are 0.7 or 1.4 to thin or darken text rendering. -I Invert the output image colors. pages Comma separated list of ranges to render. SEE ALSO
mupdf(1), pdfclean(1). pdfshow(1). AUTHOR
MuPDF was written by Tor Andersson <tor@ghostscript.com>. MuPDF is Copyright 2006-2010 Artifex Software, Inc. September 4, 2011 PDFDRAW(1)

Check Out this Related Man Page

pngtopnm(1)						      General Commands Manual						       pngtopnm(1)

NAME
       pngtopnm - convert a Portable Network Graphics file into portable anymap

SYNOPSIS
       pngtopnm [-verbose] [-alpha | -mix] [-background color]
       [-gamma value] [-text file] [-time] [pngfile]

DESCRIPTION
       Reads a Portable Network Graphics as input.  Produces a portable anymap as output.  The type of the output file depends on the input file -
       if it's black & white, a pbm file is written, else if it's grayscale a pgm file, else a ppm file.

OPTIONS
       -verbose
	      Display the format of the input file and the type of the output file. If the chunks are part of  the  png-file,  the  alpha,  trans-
	      parency and gamma-values will be indicated.

       -alpha Output  the  alpha channel or transparency mask of the image. The result is either a pbm file or pgm file, depending on whether dif-
	      ferent levels of transparency appear.

       -mix   Compose the image with the transparency or alpha mask against a the background. When a background chunk is available that  color	is
	      taken, else black will do.

       -background color
	      If  no  background  color chunck is present in the png-file, or when another color is required this parameter can be used to set the
	      background color of images. This is especially useful for alpha-channel images or those with transparency  chunks.  The  format,	to
	      specify the color in, is either (in the case of orange) "1.0,0.5,0.0", where the values are floats between zero and one, or with the
	      syntax "#RGB", "#RRGGBB" or "#RRRRGGGGBBBB" where R, G and B are hexa-decimal numbers.

       -gamma value
	      Converts the image to a new display-gamma value. When a gAMA chunk is present in the png-file, the image-gamma value will  be  used.
	      When  not, the image-gamma is considered to be 1.0. Based on the image-gamma and the display-gamma given with this option the colors
	      written to the pnm-file will be adjusted.
	      Because the gamma's of uncompensated monitors are around 2.6, which results in an image-gamma of 0.45, some typical situations  are:
	      when  the  image-gamma is 0.45 (use -verbose to check) and the picture is too light, your system is gamma-corrected, so convert with
	      "-gamma 1.0".  When no gAMA chunk is present or the image-gamma is 1.0, use 2.2 to make the picture lighter and  0.45  to  make  the
	      picture darker.

       -text file
	      Writes the tEXt and zTXt chunks to a file, in a format as described in the pnmtopng man-page.  These chunks contain text comments or
	      annotations.

       -time  Prints the tIME chunk to stderr.

       All flags can be abbreviated to their shortest unique prefix.

SEE ALSO
       pnmtopng(1), ptot(1), pnmgamma(1), pnm(5)

NOTE
       Instead of pngtopnm|pnmtoxxx, a specific converter should be used, if available. E.g.  ptot (PNG to TIFF conversion), etc.

BUGS
       There could be an option to read the comment text from pnm comments instead of a separate file.

       The program could be much faster, with a bit of code optimizing.

AUTHORS
       Copyright (C) 1995-1997 by Alexander Lehmann
			       and Willem van Schaik.

								  6 January 1997						       pngtopnm(1)
Man Page