NAME
gif2ajpeg - Convert an animated GIF to an Animated JPEG (AJPEG) on command-line
SYNOPSIS
gif2ajpeg [options] <input-file> [output-file]
OPTIONS
- --quality, -q
-
When frames are extracted from the animated GIF, gif2ajpeg converts them to JPEGs. The quality setting allows to control the per-frame JPEG compression quality. Defaults to 75, but lower values usually yield good results.
- --keep-mtime
-
Flag. Tells gif2ajpeg to adjust the file modification timestamp (mtime) of the output-file to be the same as the mtime of the input-file.
- --force, -f
-
Flag. Force overwriting of an existing output file.
- --debug, -d
-
Flag. Switch debug output on.
EXAMPLES
$ gif2ajpeg input.gif output.ajpeg
When the output file is omitted, gif2ajpeg will write to a file with the suffix .ajpeg and the input file's basename:
$ gif2ajpeg --keep-mtime --quality=72 ~/some/animated.gif
To batch convert a number of animated GIFs, you can use simple shell scripting:
$ for i in ~/some/*.gif; do gif2ajpeg --keep-mtime --quality=72 "$i"; done
SEE ALSO
More information about what this script does can be found in the documentation of the backend module Image::Animated::JPEG.
AUTHOR
Clipland GmbH http://www.clipland.com/
COPYRIGHT & LICENSE
Copyright 2012-2017 Clipland GmbH. All rights reserved.
This library is free software, dual-licensed under GPLv3/AL2. You can redistribute it and/or modify it under the same terms as Perl itself.