Package: pngcrush Version: 1.6.2-1 Followup-For: Bug #337186
Changelog says: * Fixed typos in debian/pngcrush.sgml. Closes: #337186. ...but: % man pngcrush | grep -n 'extention\|preceeding' 101: -e ext Specify a new extention ext for all output files. 242: on the filtered IDAT chunk for the method of the preceeding Attached is a new patch, which also corrects the inconsistent usage of 'grey' and 'gray'. Hope this helps... -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Versions of packages pngcrush depends on: ii libc6 2.3.6-4 GNU C Library: Shared libraries an ii libpng12-0 1.2.8rel-5 PNG library - runtime ii zlib1g 1:1.2.3-11 compression library - runtime pngcrush recommends no packages. -- no debconf information
--- pngcrush.1 2006-03-29 10:30:31.000000000 -0500 +++ /tmp/pngcrush.1 2006-03-30 02:04:11.000000000 -0500 @@ -25,7 +25,7 @@ Force output bit depth to \fIn\fR. See Section \fI"Color Types"\fR for bit depth restrictions. .IP "\fB-bkgd \fIr\fR \fIg\fR \fIb\fR\fP" 10 Specify the default background color for the image. Some PNG viewers will use this background when displaying the image. Background is specified by \fIr\fR, \fIg\fR and \fIb\fR integers between 0 and (2 -bitdepth)\-1. For output color type 0 and 4 (gray, see section \fI"Color Types"\fR ) the green index is used as the grey level of the background. +bitdepth)\-1. For output color type 0 and 4 (gray, see section \fI"Color Types"\fR ) the green index is used as the gray level of the background. .IP "\fB-brute\fP" 10 Use brute force, try 114 different filter/compression methods [11-124]. This option is very time-consuming and generally not worthwhile. You can restrict this option to certain filter types, compression levels, or strategies by following it with \fB-f \fIfilter\fR\fP, \fB-l \fIlevel\fR\fP, or \fB-z \fIstrategy\fR\fP. For example: .RS @@ -37,13 +37,13 @@ .IP "\fB-c type\fP" 10 Set the output image color type to \fItype\fR, one of [0, 2, 4, or 6] (see section \fI"Color Types"\fR ). Future versions of \fBpngcrush\fR will also allow color type 3, if there are 256 or fewer colors present in the input file. Color types 4 and 6 are padded with an opaque alpha channel if the input file does not have alpha information. You can use 0 or 4 to convert color to grayscale. Use 0 or 2 to delete an unwanted alpha channel. Default is to use same color type as the input file. .IP "\fB-cc\fP" 10 -Color counting. This option allows \fBpngcrush\fR to perform further optimizations on the image based on the number of colors and the format of the imput image. With this option \fBpngcrush\fR will remove an alpha channel from an opaque image and/or will reduce a true color image that is completely grey to greyscale representation. (This option is currently disabled.) +Color counting. This option allows \fBpngcrush\fR to perform further optimizations on the image based on the number of colors and the format of the imput image. With this option \fBpngcrush\fR will remove an alpha channel from an opaque image and/or will reduce a true color image that is completely gray to grayscale representation. (This option is currently disabled.) .IP "\fB-d \fIdir\fR\fP" 10 Specify a directory for all output files. All output files will have the same name as their respective input files. .IP "\fB-dou\fP" 10 Double the images gamma. This is used for fixing gamma in PhotoShop 5.0c5.02 files. It has been claimed that the PS5 bug is actually more complex than that, in some unspecified way. .IP "\fB-e \fIext\fR\fP" 10 -Specify a new extention \fIext\fR for all output files. +Specify a new extension \fIext\fR for all output files. .IP "\fB-exit\fP" 10 Forces \fBpngcrush\fR to call exit() rather than return() when it is finished. It is unclear to this writer why this option exists. .IP "\fB-f \fIfilter\fR\fP" 10 @@ -118,7 +118,7 @@ use the default (32) unless you run out of memory. The program will use a smaller window anyway when the uncompressed file is smaller than 16k. .IP "\fB-z \fIstrategy\fR\fP" 10 -Specify the zlib compression \fIstrategy\fR [0, 1, or 2] to be used on the filtered IDAT chunk for the method of the preceeding \fB-m\fP. The zlib strategy parameter tunes the compression algorithm and is one of: +Specify the zlib compression \fIstrategy\fR [0, 1, or 2] to be used on the filtered IDAT chunk for the method of the preceding \fB-m\fP. The zlib strategy parameter tunes the compression algorithm and is one of: .RS .IP " \(bu" 6 0 : default, most compression is aimed towards string matching @@ -135,13 +135,13 @@ .PP The PNG specification provides for five color types. The color type determines how the IDAT chunk will be interpreted by the decoder. Choosing a color type appropriate for the color information in an image can reduce the size (See the \fB-cc\fP option). Following are the PNG color types followed by their supported bit depths (Note \fBpngcrush\fR does not support changing a file to color type 3 from another color type.): .IP " \(bu" 6 -0 : greyscale without alpha channel (1,2,4,8,16) +0 : grayscale without alpha channel (1,2,4,8,16) .IP " \(bu" 6 2 : true color without alpha channel (8,16) .IP " \(bu" 6 3 : indexed color (1,2,4,8) .IP " \(bu" 6 -4 : greyscale with alpha channel (8,16) +4 : grayscale with alpha channel (8,16) .IP " \(bu" 6 6 : true color with alpha channel (8,16) .PP