Portable Network Graphics Formats (PNG and MNG)

LEADTOOLS reads and writes the following Portable Network Graphics formats:

The file constants associated with these file formats are:

Constant

Read Support (BPP)

Write Support (BPP)

Description

FILE_PNG

1, 4, 8, 16, 24, 32

1, 4, 8, 24, 32

[75] Portable Network Graphics (PNG).

FILE_MNG

24

1, 2, 4, 8, 24, 32, 48, 64

[327] Multiple-image Network Graphics (MNG).

FILE_MNG_GRAY

24

1, 2, 4, 8, 16

[329] Multiple-image Network Graphics (MNG) – Grayscale.

FILE_MNG_JNG

24

8, 24

[330] Multiple-image Network Graphics (MNG) – JNG format.

FILE_MNG_JNG_411

24

24

[331] Multiple-image Network Graphics (MNG) – JNG format with JPEG 4:2:2 Compression.

FILE_MNG_JNG_422

24

24

[332] Multiple-image Network Graphics (MNG) – JNG format with JPEG 4:1:1 Compression.

Required DLL: LFPNG for PNG, LFMNG and LFCMP for MNG. 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.

NOTES: MNG file format is based in part on libmng library. MNG file format is based in part on the work of the Independent JPEG Group.

Platforms

Win32, x64, Mobile.