.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (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 .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . 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 2024-03-09 "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 PNG files into animated PNG file. .PP Some optimizations used in APNG Assembler might re-sort the palette, or change the color type from RGBA and RGB modes to RGB 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 (APNG) file format is an extension to the Portable Network Graphics (PNG) specification. It allows for animated PNG files that work similarly to animated GIF files, while retaining backward compatibility with non-animated PNG 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 APNG. .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 "invisible". 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 APNG supported browsers and image viewers will show frame01\-frame02\-frame03 animation, while IE 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" APNG 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 GNU GPL 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.