Download Latest Version pnglib.c.zip (4.9 MB)
Email in envelope

Get an email when there's a new version of pnglib

Home / pnglib.c / sample.bc4
Name Modified Size InfoDownloads / Week
Parent folder
readme.txt 2019-05-09 1.1 kB
make.bat 2019-05-08 2.5 kB
PNGLIB.C 2019-05-08 657 Bytes
mak3.bat 2019-05-08 392 Bytes
mak2.bat 2019-05-08 420 Bytes
ld_file.exe 2019-05-08 21.0 kB
LD_FILE.C 2019-05-08 10.3 kB
LD_EXE.DEF 2019-05-08 321 Bytes
APNG.C 2019-05-08 1.9 kB
dll.bat 2019-05-08 582 Bytes
Totals: 10 Items   39.2 kB 0
1)usage:
  ld_file.exe <file.png>
  example 1:  ld_file.exe ..\pnglib.png
  example 2:  ld_file.exe ..\01.png

2)how to build ld_file.exe:
2.1)modify the path of borland c.
  In my computer, it is in E:\program\BC4.5
so i write this path in all batch files as below.
But it is maybe not your bc path.
You can modify them in batch files.

2.2)compile and link:
  make.bat will make ld_file.exe, after compile over 20 files which are in [source] folder.
That's original designed by Thomas.  

  mak3.bat will make ld_file.exe, after compile ld_file.c and pnglib.c.
Because the later #include over 20 files which are in [source] folder.
That's quick and dirty technique by Leisure bamboo.

  mak2.bat compile ld_file.c and pnglib.c, like mak3.bat, to make ld_file.exe.
But it define "_I_SIZE=256" to save memory of reading file.

  dll.bat will make ld_file.exe by ld_file.c, and make png.dll by pnglib.c.
After wrap all png function in the dll, so all variable(which in ld_file.c)
will NOT worry about their names conflict with
over 20 files(which are in [source] folder).
Source: readme.txt, updated 2019-05-09