File: features.html

package info (click to toggle)
optipng 0.5.5-1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 500 kB
  • ctags: 665
  • sloc: ansic: 5,853; makefile: 25
file content (115 lines) | stat: -rw-r--r-- 3,499 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta name="Author" content="Cosmin Truţa">
  <title>OptiPNG - The complete list of features</title>
</head>
<body bgcolor="white" text="black">

<h2>OptiPNG - The complete list of features</h2>

<p>
The main purpose of OptiPNG is to <i>optimize</i> PNG files, i.e.
to reduce their size to a minimum, without losing any information.
In order to achieve this goal, OptiPNG performs the following
tasks:
</p>

<ul>
<li>
  It losslessly reduces the bit depth, the color type and the
  color palette of the image.  This step reduces the size of the
  uncompressed image, which, indirectly, reduces the size of the
  compressed image (i.e. the size of the PNG file).
</li>
<li>
  It runs a suite of compression methods and strategies and
  selects the parameters that yield the smallest output file.
</li>
<li>
  It concatenates all the IDAT data in a single chunk, minimizing
  the overhead incurred by chunk headers and CRCs.
</li>
</ul>

<p>
In addition, OptiPNG has the following capabilities:
</p>

<ul>
<li>
  It offers a suite of optimization level presets.
  Given the number of trials that the user is willing to run,
  these presets will select the range of compression parameters
  that are most likely to yield the smallest output.
</li>
<li>
  It offers a high degree of freedom to advanced users who
  can choose among many kinds of compression parameters.
  The optimization level presets and the custom compression
  parameters may be used in any combination.
</li>
<li>
  It allows advanced users to disable certain image reductions.
</li>
<li>
  It corrects integrity errors found in the input files.
  Bad CRCs, invalid data in ancillary chunks, incomplete PNG
  files, or extraneous data in IDAT, are examples of such
  integrity errors.
</li>
<li>
  It recognizes several external file formats:
  <ul>
  <li>
    <b>BMP</b>
    <br>
    The reading capabilities are limited to uncompressed BMP
    files.  This is not a big problem, since few programs produce
    compresses BMPs.  On the other hand, it is easy to uncompress
    a BMP file, by opening it in a BMP processing program (such
    as MS Paint), and re-saving it uncompressed.
  </li>
  <li>
    <b>GIF</b>
    <br>
    All static (i.e. non-animated) GIF images are supported.
    OptiPNG preserves the transparency information, but it
    does not preserve the textual comments embedded in GIFs.
    Animated GIFs cannot be converted to PNG.  Instead, only
    the first frame is converted, and a warning is issued.
  </li>
  <li>
    <b>PNM (PBM, PGM, PPM)</b>
    <br>
    All these Unix-based formats are fully supported by OptiPNG.
    However, losslessness is only guaranteed when the maximum
    sample value is one of the following: 1, 3, 7, 15, 255, 65535.
    (This limitation applies to any PNM-to-PNG format converter,
    not only to OptiPNG.)
  </li>
  <li>
    <b>TIFF</b>
    <br>
    The read support is currently limited to uncompressed TIFF
    images that are encoded in a PNG-compatible color space
    (grayscale, RGB or RGBA).  Enhanced TIFF support is under
    development.
  </li>
  </ul>
</ul>


<hr>

<address>
<font size="-1">
Copyright &copy; 2003-2006 Cosmin Truţa. Permission to distribute freely.
<br>
Appeared: 3&nbsp;Apr&nbsp;2003.
<br>
Last updated: 21&nbsp;Jul&nbsp;2006.
</font>
</address>