Skip to content

用 xpdf 处理 PDF #10

Open
Open
@district10

Description

@district10
Owner

下载页面:Index of /CTAN/support/xpdf/
我的备份:http://whudoc.qiniudn.com/2016/pdftopng.exe (1.69 MB)。

其中的 pdftopng 简直完美!

$ pdftopng
pdftopng version 3.04
Copyright 1996-2014 Glyph & Cog, LLC
Usage: pdftopng [options] <PDF-file> <PNG-root>
  -f <int>          : first page to print
  -l <int>          : last page to print
  -r <int>          : resolution, in DPI (default is 150)(分辨率默认 150 dpi)
  -mono             : generate a monochrome PBM file(二值化)
  -gray             : generate a grayscale PGM file(灰度图)
  -freetype <string>: enable FreeType font rasterizer: yes, no
  -aa <string>      : enable font anti-aliasing: yes, no
  -aaVector <string>: enable vector anti-aliasing: yes, no
  -opw <string>     : owner password (for encrypted files)
  -upw <string>     : user password (for encrypted files)
  -q                : don't print any messages or errors
  -cfg <string>     : configuration file to use in place of .xpdfrc
  -v                : print copyright and version info
  -h                : print usage information
  -help             : print usage information
  --help            : print usage information
  -?                : print usage information

$ pdftopng demo.pdf -r 300 -mono ./demo-r300-mono/demo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @district10

        Issue actions

          用 xpdf 处理 PDF · Issue #10 · district10/blog