> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PngExtendedParams Object (IPngExtendedParams Interface)

This object provides functionality for tuning the parameters of saving a black-and-white image to PNG format (IFF\_Png format) using the [**IImage::WriteToFile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image-writetofile.md) method. A pointer to this object is passed into the **IImage::WriteToFile** method as an input parameter, and thus affects the properties of the resulting image.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **TransparentColor** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Sets the color which must be replaced by transparent areas when saving the image in PNG format. Only black and white colors are currently supported. Note: The **int** value is calculated from the RGB triplet using the formula: (**red value**) + (256 x **green value**) + (65536 x **blue value**), where **red value** is the first triplet component, **green value** is the second triplet component, **blue value** is the third triplet component. For example, the **int** value of the color white equals 16777215. The default value of this property is -1, which means that no colors will be replaced with transparency. |

## Output parameter

This object is the output parameter of the [**CreatePngExtendedParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-createxxx.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object.

## Input parameter

This object is the input parameter of the [**WriteToFile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image-writetofile.md) method of the [**Image**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/image.md) object.

## See also

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
