EnglishFrenchSpanish

Ad


OnWorks favicon

idiff - Online in the Cloud

Run idiff in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command idiff that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


idiff - compare two images

SYNOPSIS


idiff [options] image1 image2

DESCRIPTION


The idiff utility is invoked as follows:

idiff [options] image1 image2

Where input1 and input2 are the names of two image files that should be compared. They may
be of any format recognized by OpenImageIO (i.e., for which image-reading plugins are
available).

If the two input images are not the same resolutions, or do not have the same number of
channels, the comparison will return FAILURE immediately and will not attempt to compare
the pixels of the two images. If they are the same dimensions, the pixels of the two
images will be compared, and a report will be printed including the mean and maximum
error, how many pixels were above the warning and failure thresholds, and whether the
result is PASS, WARNING, or FAILURE. For example:

$ idiff a.jpg b.jpg
Comparing "a.jpg" loading="lazy" and "b.jpg"
Mean error = 0.00450079
RMS error = 0.00764215
Peak SNR = 42.3357
Max error = 0.254902 @ (700, 222, B)
574062 pixels (82.1%) over 1e-06
574062 pixels (82.1%) over 1e-06
FAILURE

The "mean error" is the average difference (per channel, per pixel). The "max error" is
the largest difference in any pixel channel, and will point out on which pixel and channel
it was found. It will also give a count of how many pixels were above the warning and
failure thresholds.

The metadata of the two images (e.g., the comments) are not currently compared; only
differences in pixel values are taken into consideration.

For a complete description, see /usr/share/doc/openimageio-doc/openimageio.pdf.gz.

OPTIONS


--help Print help message

-v Verbose status messages

-a Compare all subimages/miplevels

Thresholding and comparison options
-fail %g
Failure threshold difference (0.000001)

-failpercent %g
Allow this percentage of failures (0)

-hardfail %g
Fail if any one pixel exceeds this error (infinity)

-warn %g
Warning threshold difference (0.00001)

-warnpercent %g
Allow this percentage of warnings (0)

-hardwarn %g
Warn if any one pixel exceeds this error (infinity)

-p Perform perceptual (rather than numeric) comparison

Difference image options
-o %s Output difference image

-od Output image only if nonzero difference

-abs Output image of absolute value, not signed difference

-scale %g
Scale the output image by this factor

Use idiff online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    s3cmd
    s3cmd
    Open-source tool to access Amazon S3
    file storage. S3cmd is a free command
    line tool and client for uploading,
    retrieving and managing data in Amazon
    S3 and ot...
    Download s3cmd
  • 2
    XyZerKunG ServerTool
    XyZerKunG ServerTool
    XyZerKunG ServerTool helps you to make
    your own Minecraft server and play with
    your friend for a few minutes.
    Features:Automatically create a
    Minecraft serverU...
    Download XyZerKunG ServerTool
  • 3
    CalcTools
    CalcTools
    Java source intended to serve as a
    nexus for teaching both mathematics and
    software solutions for computation on
    iterative equations. Public interfaces
    allow a...
    Download CalcTools
  • 4
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop Client
    Rocket.Chat Desktop client is the
    official desktop app for Rocket.Chat,
    the simple but powerful open source web
    chat platform. It's tested on macOS,
    Windows...
    Download Rocket.Chat Desktop Client
  • 5
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 6
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 7
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • More »

Linux commands

Ad