#   Copyright
#
#      Copyright (C) 2020 David da Silva Polverari
#
#   License
#
#       This program 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; either version 2 of the License, or
#       (at your option) any later version.
#
#       This program 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 program. If not, see <http://www.gnu.org/licenses/>.
#
#   Description
#
#	To learn what TOP LEVEL section to use in manual pages,
#	see POSIX/Susv standard and "Utility Description Defaults" at
#	http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_11
#
#	This is manual page in Perl POD format. Read more at
#	http://perldoc.perl.org/perlpod.html or run command:
#
#	    perldoc perlpod | less
#
#	To check the syntax:
#
#	    podchecker *.pod
#
#	Create manual page with command:
#
#	    pod2man PAGE.N.pod > PAGE.N

=pod

=head1 NAME

png-fix-IDAT-windowsize - fix incorrect window-size fields of IDAT chunks on PNG files

=head1 SYNOPSIS

B<png-fix-IDAT-windowsize> [B<-force>] [B<-verbose> | B<-noquiet>] I<file> ...

=head1 OPTIONS

=over 4

=item B<-force>

Overwrite existing output files.

=item B<-noquiet>

See B<-verbose>.

=item B<-verbose>

Print more status messages.

=back

=head1 DESCRIPTION

B<png-fix-IDAT-windowsize> corrects files with invalid zlib headers
within the PNG (Portable Network Graphics) datastream, as generated by
libpng versions 1.0.16 and 1.2.6.  It uses explicit, hardcoded
compression settings and line filters.

For each input I<file>B<.png>, B<png-fix-IDAT-windowsize> performs the
fixes and saves the resulting file as I<file>B<-fixed.png> on the
original file directory.

=head1 ENVIRONMENT

None.

=head1 FILES

None.

=head1 SEE ALSO

pngcheck(1),
pngchunkdesc(1),
pngchunks(1),
pngcomp(1),
pngcp(1),
pngcrush(1),
pngfix(1),
pnginfo(1),
pngmeta(1),
pngnq(1),
pngquant(1),
pngsplit(1)

=head1 AUTHORS

Program was written by Greg Roelofs <newt@pobox.com>, <roelofs@users.sf.net>.

This manual page was written by David da Silva Polverari
<david.polverari@gmail.com> for the Debian GNU system (but may be used
by others). Released under license GNU GPL v2 or (at your option) any
later version. For more information about license, visit
<http://www.gnu.org/copyleft/gpl.html>.

=cut
