Clipland
and 1 contributors

NAME

gif2ajpeg - Convert an Animated JPEG (AJPEG) to an animated GIF on command-line

SYNOPSIS

  ajpeg2gif [options] <input-file> [output-file]

DESCRIPTION

This script relies on mogrify and gifsicle, so make sure both tools are available, on Debian/Ubuntu that would be by executing apt-get install imagemagick gifsicle.

OPTIONS

not implemented: --quality, -q

Animated GIFs require a lot of tweaking to bring file-size down to a reasonable size. ajpeg2gif can't achieve this automatically and thus currently uses hardcoded FloydSteinberg dithering via mogrify, and optimizations done in gifsicle.

--keep-mtime

Flag. Tells ajpeg2gif 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

  $ ajpeg2gif --keep-mtime input.ajpeg output.gif

When the output file is omitted, ajpeg2gif will write to a file with the suffix .gif and the input file's basename:

SEE ALSO

More information about how an Animated JPEG differs from animated GIF files can be found in the documentation of the backend module Image::Animated::JPEG and the official AJPEG specs bundled with this distribution.

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.