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

    Function makeReusablePixelData

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

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

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