PNGCP(1) General Commands Manual PNGCP(1)NAME
pngcp - create a new PNG file, having changed some attributes
SYNOPSIS
pngcp [-d <depth>] [-s <samples per pixel>] <input filename> <output filename>
DESCRIPTION
The pngcp 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 -- pngcp will
inform you of invalid combinations.
Samples with more than eight bits are not correctly handled at the moment.
RETURNS
Nothing.
EXAMPLE
pngcp toucan.png new.png
SEE ALSO pngchunkdesc(1), pngchunks(1), pnginfo(1).
AUTHOR
pngcp was written by Michael Still <mikal@stillhq.com>.
This manual page was written by Nelson A. de Oliveira <naoliv@debian.org>, for the Debian project (but may be used by others).
Tue, 31 Jul 2007 17:55:51 -0300PNGCP(1)
Check Out this Related Man Page
PNGINFO(1) General Commands Manual PNGINFO(1)NAME
pnginfo - display information on the PNG files named
SYNOPSIS
pnginfo [-t] [-d] [-D] <filenames>
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 tiffinfo
command, which is part of the libtiff distribution. Each line output by the command represents a value that has been set within the PNG
file.
The -t command line option forces pnginfo to use libtiff tiffinfo style lables, instead of the more relevant png names. The -d command line
option dumps the bitmap contained by the image to standard out, whilst the -D command merely checks that the image bitmap could be
extracted from the file. If nothing is reported by -D, then there was no error.
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.
RETURNS
Nothing.
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
SEE ALSO pngchunkdesc(1), pngchunks(1), pngcp(1),
AUTHOR
pnginfo was written by Michael Still <mikal@stillhq.com>.
This manual page was written by Nelson A. de Oliveira <naoliv@debian.org>, for the Debian project (but may be used by others).
Tue, 31 Jul 2007 17:55:51 -0300PNGINFO(1)