Portable Network Graphics Format (PNG)

PNG (Portable Network Graphics) is a replacement for the GIF format. It is a full-featured (non-LZW) compressed format intended for widespread use without legal restraints.

LEADTOOLS supports reading (but not writing) interlaced PNG files. To implement the paint-while-load feature, set the ProgressivePasses property to paint the image in more than one pass.

You can read the following bits per pixel: 1, 4, 8, 16, 24, 32.

You can write the following bits per pixel: 1, 4, 8, 24, 32.

 

The file constants associated with this file format are:

Constant

Read Support

Write Support

Description

FILE_PNG

1, 4, 8, 16, 24, 32 BPP

1, 4, 8, 24, 32 BPP

[75] Portable Network Graphics (PNG).

Required DLL: LFPNG. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Related Formats: GIF - Compuserve GIF Format, JPG - JPEG Compressed.