Giter Club home page Giter Club logo

jpegrescan's Introduction

JPEGrescan: losslessly shrink any JPEG file

JPEGrescan is a perl script that uses jpeg tools to optimize jpeg compression by micro-managing some of the compression math based on research into some of the most common parameters.

Usage

$ jpegrescan in.jpg out.jpg

Arguments

  • -s: Removes all Exif data and now all JFIF data as well. (A basic 18-byte JFIF segment is added in its place.)
  • -i: Allows optimizations that may be "incompatible" with some software. Currently this means removing all JFIF data (saving 18 bytes) and allowing an encoding not supported by Opera before version 11.61.
  • -t: Turns on multithreaded operation. Usually, uses up to 4 threads. Faster, but not four times faster than without -t. So try xargs -n1 -P to shrink a large number of jpegs at the same time.
  • -a: Turns on arithmetic coding. (Unsupported by most software.)
  • -v: verbose output
  • -q: supress all output

Thanks

First, thanks to Loren Merritt who created this script originally. Also, thanks to the people on devshed.com and lyncd.com - whose names seem to be lost to the sands of time - who came up with the jfifremove idea and basic C code.

jpegrescan's People

Contributors

ken-g6 avatar toy avatar neheb avatar kornelski avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.