Class ImagesDifference
Contents
[
Hide
]ImagesDifference class
Represents the result class of comparing two PDF pages.
public sealed class ImagesDifference : IDisposable
Properties
Name | Description |
---|---|
Difference { get; } | Gets the difference array. This array is similar to the original image data array obtained as a result of the LockBits method. |
Height { get; } | The height of difference. |
SourceImage { get; } | Gets the image of first compared page. The image has a pixel format is 24bpp. |
Stride { get; } | The stride of difference image data. |
Methods
Name | Description |
---|---|
DifferenceToImage(Color, Color) | Converts the difference array to a bitmap image using the specified colors. |
Dispose() | Performs any necessary clean up operations before the object is destroyed. |
GetDestinationImage() | Returns a new bitmap representing the destination image by applying the difference array to the source image. |
See Also
- namespace Aspose.Pdf.Comparison.GraphicalComparison
- assembly Aspose.PDF