.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "apngasm 1" .TH apngasm 1 "2023-04-13" "apngasm" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" apngasm \- assemble individual PNG files int to animated PNG file. .SH "SYNOPSIS" .IX Header "SYNOPSIS" apngasm output.png frame001.png [options] .PP apngasm output.png frame*.png [options] .SH "DESCRIPTION" .IX Header "DESCRIPTION" Assemble individual \s-1PNG\s0 files into animated \s-1PNG\s0 file. .PP Some optimizations used in \s-1APNG\s0 Assembler might re-sort the palette, or change the color type from \s-1RGBA\s0 and \s-1RGB\s0 modes to \s-1RGB\s0 and indexed modes. Those optimizations are only performed when they are lossless, but if you want to avoid changing the palette or colortype, see options to turn them off. .PP The Animated Portable Network Graphics (\s-1APNG\s0) file format is an extension to the Portable Network Graphics (\s-1PNG\s0) specification. It allows for animated \s-1PNG\s0 files that work similarly to animated \s-1GIF\s0 files, while retaining backward compatibility with non-animated \s-1PNG\s0 files and adding support for 8\-bit transparency and 24\-bit images. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB/kp\fR" 4 .IX Item "/kp" Keep the original palette and do do not optimize for created \s-1APNG.\s0 .IP "\fB/kc\fR" 4 .IX Item "/kc" Keep the original color type. .SH "EXAMPLES" .IX Header "EXAMPLES" [Example 1] With following files, to have 3/4 seconds delay between the frames: .PP .Vb 3 \& frame01.png \& frame02.png \& frame03.png \& \& apngasm output.png frame01.png 3 4 .Ve .PP You can control individual frame by creating control files, like for \&\f(CW\*(C`frame02.txt\*(C'\fR: .PP .Vb 1 \& delay=25/100 .Ve .PP [Example 2] The same as above, but the with frame00.png, which is \&\*(L"invisible\*(R". Notice the use of option \fB/f\fR: .PP .Vb 4 \& frame00.png \- invisible \& frame01.png \& frame02.png \& frame03.png \& \& apngasm output.png frame00.png 3 4 /f .Ve .PP That way \s-1APNG\s0 supported browsers and image viewers will show frame01\-frame02\-frame03 animation, while \s-1IE\s0 and Chrome will display static frame00.png image. .PP [Example 3] This way you'll get 1/10 sec delay: .PP .Vb 1 \& apngasm output.png frame01.png .Ve .SH "ENVIRONMENT" .IX Header "ENVIRONMENT" None. .SH "FILES" .IX Header "FILES" None. .SH "STANDARDS" .IX Header "STANDARDS" \&\s-1APNG\s0 Specification: https://wiki.mozilla.org/APNG_Specification .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBapng2gif\fR\|(1) \&\fBgifsicle\fR\|(1) \&\fBgifview\fR\|(1) \&\fBoptipng\fR\|(1) \&\fBpngcheck\fR\|(1) pngcrush \&\fBpnginfo\fR\|(1) \&\fBpngnq\fR\|(1) \&\fBpngquant\fR\|(1) .SH "AUTHORS" .IX Header "AUTHORS" Program was written by Max Stepi .PP This manual page was written by Jari Aalto . Released under license \s-1GNU GPL\s0 version 2 or (at your option) any later version. For more information about license, visit . .PP This manual page was updated by xiao sheng wen on Apr 2023.