Projects / Jpgtn

Jpgtn

Jpgtn generates smaller JPEGs from larger ones. It can work in batches and create new files with names based on the names of the source files. It can dump a single thumbnail to stdout for use with pipelines or CGI programs. Thumbnail size and quality can be controlled by switches on the command line. There is no maximum "thumbnail" size, so it can be useful for creating images suitable for web publishing from very large images such as those taken with a good digicam.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  18 Feb 2003 07:15

    Release Notes: autoconf is now used for the build process, simplifying installation under Linux.

    •  23 Jun 2002 20:48

      Release Notes: A bug which caused segmentation faults on some systems and corrupted filenames on other systems was fixed.

      •  20 Jun 2002 06:39

        Release Notes: This version fixes the inability to recognize some JPEG formats, poor filename handling semantics, and removes arbitrary limits on thumbnail size. The -f flag is now required for overwriting files, and the version flag was changed to -V from -v, which is now used for the verbosity level.

        Recent comments

        15 Feb 2003 14:27 sauoq

        Re: Compile errors on Linux RH7.3... with fixes :-)

        > I found the following patch sorted some
        > compile
        > errors:

        Jpgtn now uses an autoconf driven build process. The next release will include a configure script and should fix this error.

        30 Sep 2002 19:04 rivimey

        Compile errors on Linux RH7.3... with fixes :-)
        I found the following patch sorted some compile
        errors:

        diff -u -r jpgtn-2.01/jpgtn.c jpgtn-2.01-1/jpgtn.c
        --- jpgtn-2.01/jpgtn.c Sun Jun 23 20:24:23 2002
        +++ jpgtn-2.01-1/jpgtn.c Mon Sep 30 23:49:36
        2002
        @@ -27,6 +27,7 @@
        #include <stdio.h>
        #include <stdlib.h>
        #include <string.h>
        +#include <unistd.h>

        #include <sys/types.h>
        #include <sys/stat.h>
        diff -u -r jpgtn-2.01/writejpeg.c
        jpgtn-2.01-1/writejpeg.c
        --- jpgtn-2.01/writejpeg.c Fri Jun 14 21:50:57 2002
        +++ jpgtn-2.01-1/writejpeg.c Mon Sep 30 23:49:59
        2002
        @@ -24,6 +24,7 @@
        */

        #include <stdio.h>
        +#include <stdlib.h>
        #include <jpeglib.h>
        #include "jpgtn.h"

        Screenshot

        Project Spotlight

        OpenStack4j

        A Fluent OpenStack client API for Java.

        Screenshot

        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.