# winicontoppm(1) - man - phpman

> **TLDR:** This command has been superseded by `winicontopam`.
>
- View documentation for the current command:
  `tldr winicontopam`

*Source: tldr-pages*

---

[winicontoppm(1)](https://www.chedong.com/phpMan.php/man/winicontoppm/1/markdown)                        General Commands Manual                       [winicontoppm(1)](https://www.chedong.com/phpMan.php/man/winicontoppm/1/markdown)



## NAME
       winicontoppm - convert a Windows .ico file into 1 or more portable pixmap files

## SYNOPSIS
       **winicontoppm**  [_-writeands_]  [_-allicons|-bestqual_] [_-multippm_] [_-verbose_] [_iconfile_] [_ppmdest__‐
       _file_]

## DESCRIPTION
       Reads a Microsoft Windows .ico file, converts it to one or more ppms.

       A Windows icon contains 1 or more images, at different resolutions and  color  depths.   Each
       image has an 'and' mask, which contains transparancy data.

       By default, the output goes to Standard Output.  If you specify _ppmdestfile_, output goes into
       one or more files named as follows.  If it's just one file (i.e. you  specify  the  **-multippm**
       option  or don't specify **-allicons**), the file specification is _ppmdestfile_**.ppm**.  If it's mul‐
       tiple files, their file specifications are _ppmdestfile__**1.ppm**, _ppmdestfile__**2.ppm**, etc.

       When you specify the **-writeands** option, the filenames  above  are  modified  to  include  the
       string **xor** as in _ppmdestfile__**xor.ppm** or _ppmdestfile__**xor**___**1.ppm**.

       **winicontoppm** can convert images with 1, 4, 8, 24 or 32 bits per pixel (bpp).


## OPTIONS
### -writeands
              For  each  icon  written,  also  write the 'and' (transparancy) mask as a seperate PBM
              file.  It's name is of the form _ppmdestfile__**and.pbm** or _ppmdestfile__**and**___**1.pbm**.

### -allicons
              Extract all images from the .ico file.

### -bestqual
              Extract only the best quality (largest, then highest bpp) image from the .ico file.

### -multippm
              Write all ppms to a single file.


## SEE ALSO
       [**ppmtowinicon**(1)](https://www.chedong.com/phpMan.php/man/ppmtowinicon/1/markdown), [**ppm**(5)](https://www.chedong.com/phpMan.php/man/ppm/5/markdown)


## AUTHOR
       Copyright (C) 2000, 2003 by Lee Benfield.



                                             22 May 2000                             [winicontoppm(1)](https://www.chedong.com/phpMan.php/man/winicontoppm/1/markdown)
