Nonlinear Performance Magnification

    is-progressive-cli

    2.0.0 • Public • Published

    is-progressive-cli

    Check if JPEG images are progressive

    Can be useful to make sure your images are progressive, which is important for performance:

    Progressive JPEGs are better because they are faster. Appearing faster is being faster, and perceived speed is more important that actual speed. - Progressive JPEGs: a new best practice

    The check is fast as it only reads a small part of the file.

    Install

    npm install --global is-progressive-cli

    Usage

    $ is-progressive --help
    
      Usage
        $ is-progressive <file> ...
        $ is-progressive < <file>
    
      Example
        $ is-progressive baseline.jpg progressive.jpg
        ✖ baseline.jpg
        ✔ progressive.jpg
    
    Globbing

    You can use globs too if your shell supports that.

    $ is-progressive *.jpg
    

    Related

    Install

    npm i is-progressive-cli

    DownloadsWeekly Downloads

    11

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    4.26 kB

    Total Files

    4

    Last publish

    Collaborators

    • sindresorhus