1Winicontoppm User Manual(0)                        Winicontoppm User Manual(0)
2
3
4

NAME

6       winicontoppm - convert a Windows .ico image into 1 or more PPM images
7
8

SYNOPSIS

10       winicontoppm  [-writeands] [-allicons|-bestqual] [-multippm] [-verbose]
11       [iconfile] [ppmdestfile]
12
13

DESCRIPTION

15       This program is part of Netpbm(1).
16
17       winicontoppm reads a Microsoft Windows .ico file and converts it to one
18       or more PPMs.
19
20       A  Windows  icon  contains one or more images, at different resolutions
21       and color depths.   Each  image  has  an  'and'  mask,  which  contains
22       transparancy data.
23
24       By  default,  the  output  goes  to  Standard  Output.   If you specify
25       ppmdestfile, output goes into one or more files named as  follows.   If
26       it's  just  one  file  (i.e.  you specify the -multippm option or don't
27       specify -allicons), the file name is ppmdestfile.ppm.  If it's multiple
28       files, their file names are ppmdestfile_1.ppm, ppmdestfile_2.ppm, etc.
29
30        When you specify the -writeands option, the file names above are modi‐
31       fied to include the string xor as in  ppmdestfile_xor.ppm  or  ppmdest‐
32       file_xor_1.ppm.
33
34       winicontoppm  can  convert .ico images with 1, 4, 8, 24, or 32 bits per
35       pixel.  Before Netpbm 10.15 (April 2003), it could not  handle  24  and
36       32.
37
38

OPTIONS

40       -writeands
41              For  each icon written, also write the 'and' (transparancy) mask
42              as a separate PBM file.  It's  name  is  of  the  form  ppmdest‐
43              file_and.pbm or ppmdestfile_and_1.pbm.
44
45
46       -allicons
47              Extract all images from the .ico file.
48
49
50       -bestqual
51              Extract  only the best quality (largest, then highest bpp) image
52              from the .ico file.
53
54
55       -multippm
56              Write all PPMs to a single file.
57
58
59
60

SEE ALSO

62       ppmtowinicon(1), bmptopnm(1), ppm(1)
63
64

AUTHOR

66       Copyright (C) 2000, 2003 by Lee Benfield.
67
68
69
70netpbm documentation             23 March 2003     Winicontoppm User Manual(0)
Impressum