[tex-live] sources of pdftopng

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jan 4 15:08:47 CET 2016


On 04/01/2016 13:58, Denis Bitouzé wrote:
> Le 04/01/16 à 14h43, Ulrike Fischer <news3 at nililand.de> a écrit :
> 
>> I found pdftopng in texlive and found it quite useful to create in a
>> fast way some png. 
> 
> BTW...
> 
> I was not aware of `pdftopng', and with good reason: it doesn't exist on
> Linux:
> 
>   ┌────
>   │ $ locate pdftopng
>   │ /home/bitouze/texlive-svn/Build/source/libs/xpdf/xpdf-3.04/doc/pdftopng.1
>   │ /home/bitouze/texlive-svn/Build/source/libs/xpdf/xpdf-3.04/doc/pdftopng.cat
>   │ /home/bitouze/texlive-svn/Build/source/libs/xpdf/xpdf-3.04/xpdf/pdftopng.cc
>   │ /home/bitouze/texlive-svn/Master/bin/win32/pdftopng.exe
>   │ /home/bitouze/texlive-svn/Master/texmf-dist/doc/support/wintools/pdftopng.pdf
>   └────
> 
> As it seems to come from `xpdf' which is available, I guess, mainly for
> Un*x systems, why doesn't ir exist on Linux?

Quite possible, but it's certainly there on Windows:

U:\>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)
  -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

U:\>which pdftopng
C:\texlive\2015\bin\win32\pdftopng.EXE

Joseph



More information about the tex-live mailing list