PageVisualComparison
Overview
PageVisualComparison is a class in Aspose.PDF FOSS for Python.
One pair of rendered pages, using zero-based source page indices.
Properties: bbox, changed_pixels, diff_image, difference_ratio, ignored_pixels, matches, and 5 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
difference_ratio | float | Read | Return changed pixels divided by nonignored pixels on either page. |
page_index | int | None | Read | Gets the page index. |
other_page_index | int | None | Read | Gets the other page index. |
size | tuple[int, int] | None | Read | Gets the size. |
other_size | tuple[int, int] | None | Read | Gets the other size. |
changed_pixels | int | Read | Gets the changed pixels. |
total_pixels | int | Read | Gets the total pixels. |
bbox | tuple[int, int, int, int] | None | Read | Gets the bbox. |
matches | bool | Read | Gets the matches. |
diff_image | RasterizedPage | None | Read | Gets the diff image. |
ignored_pixels | int | Read | Gets the ignored pixels. |