# GrayscaleBitmapProperties

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / GrayscaleBitmapProperties

# Type Alias: GrayscaleBitmapProperties

> **GrayscaleBitmapProperties** = `object`

Provides settings for creating a new instance of [GrayscaleBitmap](../classes/GrayscaleBitmap).

## Properties

### initialValue?

> `optional` **initialValue**: `number`

The optional value to initialize pixels of a GrayscaleBitmap (between 0 and 255).

***

### transparencyMask?

> `optional` **transparencyMask**: `boolean`

Indicates whether the image is used to define an alpha mask of another image.

***

### whiteIsZero?

> `optional` **whiteIsZero**: `boolean`

If true, specifies that 0 is imaged as white and 255 is imaged as black.
