|
1 The samples are in platform-specific directories. |
|
2 |
|
3 !!! contributions are very welcome !!! |
|
4 |
|
5 |
|
6 bcb - Borland C++ Builder (3.0) (found under bcb/xxx) |
|
7 ----------------------------------------------------- |
|
8 |
|
9 win32dll - sample project to create a Windows dll. Requires zlib1.2.1, |
|
10 IJG jpgsrc6b and lcms1.0.14. The directories containing these |
|
11 libraries must be at the same level as the libmng directory. |
|
12 So if you're in the directory with this file and the libmng |
|
13 sources, they should be in ..\zlib , ..\jpgsrc6b and ..\lcms |
|
14 respectively. |
|
15 |
|
16 !!! To run the other Win32 samples you need to copy the libmng.dll |
|
17 file from here into the sample's directory !!! |
|
18 |
|
19 mngtree - sample project to create a little command-line tool that dumps |
|
20 the chunk-structure of a given file onto stdout. |
|
21 |
|
22 bogus - a completely bogus example on how to create a perfectly valid |
|
23 (though slightly biased) MNG. |
|
24 |
|
25 mngview - port of the Delphi mngview sample. contributed by Andy Protano. |
|
26 see also README.contrib |
|
27 |
|
28 mngrepair- an example on how to fix invalid MNG files |
|
29 uses the new mng_copy_chunks() function and MNG_SOFTERRORS to |
|
30 'ignore' certain input-errors. This conditional *MUST* only be used |
|
31 for exactly this kind of software; eg. repair utilities. |
|
32 |
|
33 |
|
34 delphi - Borland Delphi (3.0+) (found under contrib/delphi/xxx) |
|
35 --------------------------------------------------------------- |
|
36 |
|
37 mngview - sample project for a simple mng-viewer. The general unit in |
|
38 the delphi directory was translated from libmng.h It can be |
|
39 used in other projects to access libmng.dll created with the |
|
40 win32dll example above. |
|
41 |
|
42 |
|
43 unix - Unix (found under contrib/gcc/xxx) |
|
44 ----------------------------------------- |
|
45 |
|
46 mngtree - basically a copy of the BCB sample. It includes a makefile for |
|
47 Linux and it's been tested on RedHat6.2 |
|
48 |