@ahmic/autoit-js
    Preparing search index...

    Function PixelChecksum

    • Calculates a checksum for a rectangular region of pixels.

      Parameters

      • left: number

        The X coordinate of the left edge of the rectangle.

      • top: number

        The Y coordinate of the top edge of the rectangle.

      • right: number

        The X coordinate of the right edge of the rectangle.

      • bottom: number

        The Y coordinate of the bottom edge of the rectangle.

      • step: number = 1

        The step value for the calculation (default is 1).

      Returns number

      The checksum value as a number.

      import { PixelChecksum } from '@ahmic/autoit-js';

      const checksum = PixelChecksum(0, 0, 100, 100);

      console.log(checksum); // Output: 123456