BiPNG.dll specific error codes

Error Code number

Error Code

Meaning

0

PNGERR_NOERROR

No error

1

PNGERR_CREATE

Unable to create file.

2

PNGERR_OPEN

File not found.

3

PNGERR_MEMORY

Not enuogh memory.

4

PNGERR_HANDLE

Invalid bitmap or DIB handle.

5

PNGERR_READING

Error occured while loading.

6

PNGERR_WRITING

Error occured while saving.

7

PNGERR_CREATEDIBITMAP

Unable to create DIB.

8

PNGERR_GETDIBITS

Unable to get DIB.

9

PNGERR_PALETTE

Palette missing.

10

PNGERR_BITDEPTHORALPHA

Unsupported bit depth or alpha channel exist.