---
id: fast-colors.imagedatapixelblob
title: ImageDataPixelBlob class
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-colors](./fast-colors.md) &gt; [ImageDataPixelBlob](./fast-colors.imagedatapixelblob.md)

## ImageDataPixelBlob class

A [PixelBlob](./fast-colors.pixelblob.md) implementation from an [ImageData](https://developer.mozilla.org/en-US/docs/Web/API/ImageData) object.

<b>Signature:</b>

```typescript
export declare class ImageDataPixelBlob implements PixelBlob 
```

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(image)](./fast-colors.imagedatapixelblob._constructor_.md) |  | Constructs a new instance of the <code>ImageDataPixelBlob</code> class |

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [getPixel](./fast-colors.imagedatapixelblob.getpixel.md) |  | (x: number, y: number) =&gt; [ColorRGBA64](./fast-colors.colorrgba64.md) |  |
|  [getPixelRGBA](./fast-colors.imagedatapixelblob.getpixelrgba.md) |  | (x: number, y: number) =&gt; number\[\] |  |
|  [height](./fast-colors.imagedatapixelblob.height.md) |  | number |  |
|  [totalPixels](./fast-colors.imagedatapixelblob.totalpixels.md) |  | number |  |
|  [width](./fast-colors.imagedatapixelblob.width.md) |  | number |  |
