RasterCachedImage.AnalyzePercentageDigitalSignature

RasterCachedImage.AnalyzePercentageDigitalSignature method

Calculates the percentage similarity between the extracted data and the original password.

public override int AnalyzePercentageDigitalSignature(string password)
ParameterTypeDescription
passwordStringThe password used to extract the embedded data.

Return Value

The percentage similarity value.

Exceptions

exceptioncondition
ImageExceptionThrown in any processing issues.

Examples

The example illustrates how to determine the probability (from 0% to 100%) that an image contains a digital signature created with the specified password.

[C#]

using (var image = Image.Load(outputPath))
{
    var signedPercentage = image.AnalyzePercentageDigitalSignature(password);
}

See Also