Table of Contents

Method ComputeFingerprint

Namespace
LMKit.Media.Image
Assembly
LM-Kit.NET.dll

ComputeFingerprint()

Computes the fingerprint of this image: a compact value that stays the same when the picture is resized, recompressed, converted to another format or stripped of its metadata, so two files showing the same picture can be recognized without comparing their pixels. The source is never modified.

public ImageFingerprint ComputeFingerprint()

Returns

ImageFingerprint

The fingerprint of the image.

Remarks

The pixels are read exactly as this buffer holds them. A buffer decoded from a file that states an orientation holds the stored pixels, not the displayed picture: Compute(byte[]) reads the file and honors it.

Exceptions

ObjectDisposedException

Thrown if this instance has been disposed.

ArgumentException

Thrown if the image has no pixel.

Share