Unix/Linux Go Back    


CentOS 7.0 - man page for anytopnm (centos section 0)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


Anytopnm User Manual(0) 						  Anytopnm User Manual(0)

NAME
       anytopnm - convert an arbitrary type of image file to PBM, PGM, or PPM

SYNOPSIS
       anytopnm [file]

DESCRIPTION
       This program is part of Netpbm(1)

       anytopnm  converts  the input image, which may be in any of about 100 graphics formats, to
       PBM, PGM, or PPM format, depending on that nature of the input image, and  outputs  it  to
       Standard Output.

       To determine the format of the input, anytopnm uses the file program (possibly assisted by
       the magic numbers file fragment included with Netpbm). If that fails (very few image  for-
       mats  have  magic numbers), anytopnm looks at the filename extension.  If that fails, any-
       topnm punts.

       The type of the output file depends on the input image.

       anytopnm uses the converters for particular graphics formats that are in the Netpbm  pack-
       age,  so it can't convert any format that you couldn't convert with some other Netpbm pro-
       gram.  What anytopnm adds is the ability to recognize the format and choose the	appropri-
       ate Netpbm program to convert it.  For example, if you invoke anytopnm on a GIF file, any-
       topnm will recognize that it is a GIF file and therefore giftopnm knows how to convert  it
       to PNM, so anytopnm invokes giftopnm.

       anytopnm cannot recognize every possible input format, so you may still be able to convert
       an image with a specific Netpbm program when anytopnm fails to convert it.

       If file indicates that the input file is compressed (either via Unix  compress,	gzip,  or
       bzip  compression),  anytopnm  uncompresses it and proceeds as above with the uncompressed
       result.

       If file indicates that the input file is encoded by uuencode or btoa, anytopnm decodes  it
       and proceeds as above with the decoded result.

       If file is - or not given, anytopnm takes its input from Standard Input.

SEE ALSO
       pamfile(1) , pnm(1) , file man page

AUTHOR
       Copyright (C) 1991 by Jef Poskanzer.

netpbm documentation			05 September 2006		  Anytopnm User Manual(0)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 05:50 AM.