--- pngtools-0.4.orig/debian/pnginfo.1 +++ pngtools-0.4/debian/pnginfo.1 @@ -0,0 +1,66 @@ +.TH PNGINFO 1 "Tue, 31 Jul 2007 17:55:51 \-0300" +.SH NAME +pnginfo \- display information on the PNG files named +.SH SYNOPSIS +.B pnginfo +[\-t] [\-d] [\-D] +.SH DESCRIPTION +This command dumps information about the PNG files named on the command line. This command's output is based on the output of the \fBtiffinfo\fP command, which is part of the \fBlibtiff\fP distribution. Each line output by the command represents a value that has been set within the PNG file. +.PP +The \fB-t\fP command line option forces pnginfo to use \fIlibtiff\fP \fBtiffinfo\fP style lables, instead of the more relevant png names. The \fB-d\fP command line option dumps the bitmap contained by the image to standard out, whilst the \fB-D\fP command merely checks that the image bitmap could be extracted from the file. If nothing is reported by \fB-D\fP, then there was no error. +.PP +The format for the output bitmaps is hexadecimal, with each pixel presented as a triple \-\- for instance [red green blue]. This means that paletted images et cetera will have their bitmaps expanded before display. +.SH RETURNS +Nothing. +.SH EXAMPLE +pnginfo \-t toucan.png basn3p02.png basn6a16.png +toucan.png... + Image Width: 162 Image Length: 150 + Bits/Sample: 8 + Samples/Pixel: 1 + Pixel Depth: 8 + Colour Type (Photometric Interpretation): PALETTED COLOUR with alpha (256 colours, 256 transparent) + Image filter: Single row per byte filter + Interlacing: Adam7 interlacing + Compression Scheme: Deflate method 8, 32k window + Resolution: 0, 0 (unit unknown) + FillOrder: msb-to-lsb + Byte Order: Network (Big Endian) + Number of text strings: 0 of 0 + +basn3p02.png... + Image Width: 32 Image Length: 32 + Bits/Sample: 2 + Samples/Pixel: 1 + Pixel Depth: 2 + Colour Type (Photometric Interpretation): PALETTED COLOUR (4 colours, 0 transparent) + Image filter: Single row per byte filter + Interlacing: No interlacing + Compression Scheme: Deflate method 8, 32k window + Resolution: 0, 0 (unit unknown) + FillOrder: msb-to-lsb + Byte Order: Network (Big Endian) + Number of text strings: 0 of 0 + +basn6a16.png... + Image Width: 32 Image Length: 32 + Bits/Sample: 16 + Samples/Pixel: 4 + Pixel Depth: 64 + Colour Type (Photometric Interpretation): RGB with alpha channel + Image filter: Single row per byte filter + Interlacing: No interlacing + Compression Scheme: Deflate method 8, 32k window + Resolution: 0, 0 (unit unknown) + FillOrder: msb-to-lsb + Byte Order: Network (Big Endian) + Number of text strings: 0 of 0 +.SH SEE ALSO +.BR pngchunkdesc (1), +.BR pngchunks (1), +.BR pngcp (1), +.SH AUTHOR +pnginfo was written by Michael Still . +.PP +This manual page was written by Nelson A. de Oliveira , +for the Debian project (but may be used by others). --- pngtools-0.4.orig/debian/control +++ pngtools-0.4/debian/control @@ -0,0 +1,17 @@ +Source: pngtools +Section: graphics +Priority: optional +Maintainer: Nelson A. de Oliveira +Build-Depends: cdbs, debhelper (>= 7), libpng12-dev +Standards-Version: 3.8.3 +Homepage: http://www.stillhq.com/pngtools/ + +Package: pngtools +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: optipng | pngcrush +Description: series of tools for PNG (Portable Network Graphics) images + pngtools is a suite of utilities to work with PNG (Portable Network + Graphics) files, equivalents to libtiff's tiffinfo, and tiffcp commands. + These commands are called pnginfo, pngcp. tiffdump is replaced by pngchunks + and pngchunkdesc as well. --- pngtools-0.4.orig/debian/pngchunks.1 +++ pngtools-0.4/debian/pngchunks.1 @@ -0,0 +1,52 @@ +.TH PNGCHUNKS 1 "Tue, 31 Jul 2007 17:55:51 \-0300" +.SH NAME +pngchunks \- print information embedded into a PNG file +.SH SYNOPSIS +.B pngchunks +file +.SH DESCRIPTION +\fBpngchunks\fP is a program that displays informations from files created according to the Portable Network Graphics file format. +.SH EXAMPLE +pngchunks input.png +Chunk: Data Length 13 (max 2147483647), Type 1380206665 [IHDR] + Critical, public, PNG 1.2 compliant, unsafe to copy + IHDR Width: 256 + IHDR Height: 256 + IHDR Bitdepth: 8 + IHDR Colortype: 2 + IHDR Compression: 0 + IHDR Filter: 0 + IHDR Interlace: 0 + IHDR Compression algorithm is Deflate + IHDR Filter method is type zero (None, Sub, Up, Average, Paeth) + IHDR Interlacing is disabled + Chunk CRC: \-753909967 +Chunk: Data Length 6 (max 2147483647), Type 1145523042 [bKGD] + Ancillary, public, PNG 1.2 compliant, unsafe to copy + ... Unknown chunk type + Chunk CRC: 554438993 +Chunk: Data Length 9 (max 2147483647), Type 1935231088 [pHYs] + Ancillary, public, PNG 1.2 compliant, safe to copy + ... Unknown chunk type + Chunk CRC: \-757235972 +Chunk: Data Length 7 (max 2147483647), Type 1162692980 [tIME] + Ancillary, public, PNG 1.2 compliant, unsafe to copy + ... Unknown chunk type + Chunk CRC: 429243611 +Chunk: Data Length 831 (max 2147483647), Type 1413563465 [IDAT] + Critical, public, PNG 1.2 compliant, unsafe to copy + IDAT contains image data + Chunk CRC: 1406256926 +Chunk: Data Length 0 (max 2147483647), Type 1145980233 [IEND] + Critical, public, PNG 1.2 compliant, unsafe to copy + IEND contains no data + Chunk CRC: \-1371381630 +.SH SEE ALSO +.BR pngchunkdesc (1), +.BR pngcp (1), +.BR pnginfo (1). +.SH AUTHOR +pngchunks was written by Michael Still . +.PP +This manual page was written by Nelson A. de Oliveira , +for the Debian project (but may be used by others). --- pngtools-0.4.orig/debian/changelog +++ pngtools-0.4/debian/changelog @@ -0,0 +1,22 @@ +pngtools (0.4-1) unstable; urgency=low + + * New upstream release; + * Update compat level to 7; + * Update Standards-Version to 3.8.3: + - Using new Homepage field in debian/control. + * Remove patches/pngchunks.diff (applied upstream); + * Fix minus sign in manpages. + + -- Nelson A. de Oliveira Tue, 18 Aug 2009 17:04:10 -0300 + +pngtools (0.3-2) unstable; urgency=low + + * Fix pngchunks on 64 bits platforms (Closes: #503820). + + -- Nelson A. de Oliveira Wed, 10 Dec 2008 08:06:18 -0200 + +pngtools (0.3-1) unstable; urgency=low + + * Initial release (Closes: #405139). + + -- Nelson A. de Oliveira Tue, 31 Jul 2007 17:45:22 -0300 --- pngtools-0.4.orig/debian/copyright +++ pngtools-0.4/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Nelson A. de Oliveira on +Tue, 31 Jul 2007 17:45:22 -0300. + +It was downloaded from http://www.stillhq.com/pngtools/ + +Upstream Author: Michael Still + +Copyright: 2001-2005 Michael Still + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, under version 2 of the License. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is © 2007, Nelson A. de Oliveira and +is licensed under the GPL, see above. --- pngtools-0.4.orig/debian/pngchunkdesc.1 +++ pngtools-0.4/debian/pngchunkdesc.1 @@ -0,0 +1,18 @@ +.TH PNGCHUNKDESC 1 "Tue, 31 Jul 2007 17:55:51 \-0300" +.SH NAME +pngchunkdesc \- decode information embedded into a PNG chunk name +.SH SYNOPSIS +.B pngchunkdesc +.SH DESCRIPTION +PNG files are based around a series of chunks, which embody the information stored in the image file. These chunks have four character ASCII names, where the case of each letter stores additional information. +.PP +This program decodes the case information in the chunk names, and displays it. The program reads chunk names from stdin, and write chunk descriptions to stdout. +.SH SEE ALSO +.BR pngchunks (1), +.BR pngcp (1), +.BR pnginfo (1). +.SH AUTHOR +pngchunkdesc was written by Michael Still . +.PP +This manual page was written by Nelson A. de Oliveira , +for the Debian project (but may be used by others). --- pngtools-0.4.orig/debian/watch +++ pngtools-0.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.stillhq.com/pngtools/source/pngtools_(\d+)_(\d+)\.tgz --- pngtools-0.4.orig/debian/pngcp.1 +++ pngtools-0.4/debian/pngcp.1 @@ -0,0 +1,23 @@ +.TH PNGCP 1 "Tue, 31 Jul 2007 17:55:51 \-0300" +.SH NAME +pngcp \- create a new PNG file, having changed some attributes +.SH SYNOPSIS +.B pngcp +[\-d ] [\-s ] +.SH DESCRIPTION +The \fBpngcp\fP create a new PNG file using the image data from the input file. The output file will have the bitdepth and number of samples per pixel as specified on the command line. There are limits on what is a valid combination imposed by the PNG specification \-\- \fBpngcp\fP will inform you of invalid combinations. +.PP +Samples with more than eight bits are not correctly handled at the moment. +.SH RETURNS +Nothing. +.SH EXAMPLE +pngcp toucan.png new.png +.SH SEE ALSO +.BR pngchunkdesc (1), +.BR pngchunks (1), +.BR pnginfo (1). +.SH AUTHOR +pngcp was written by Michael Still . +.PP +This manual page was written by Nelson A. de Oliveira , +for the Debian project (but may be used by others). --- pngtools-0.4.orig/debian/rules +++ pngtools-0.4/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_INSTALL_DOCS_ALL := chunks.txt +DEB_INSTALL_MANPAGES_pngtools := debian/*.1 --- pngtools-0.4.orig/debian/compat +++ pngtools-0.4/debian/compat @@ -0,0 +1 @@ +7