Pixel Data JS - v0.28.0
    Preparing search index...

    Function makeReusableImageData

    • Creates a factory function that manages a single, reusable ImageData instance. This is used to minimize garbage collection overhead by recycling the underlying pixel buffer across multiple operations.

      Returns (width: number, height: number) => ImageData

      A function that takes width and height and returns a pooled ImageData instance.