summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libmng/README.examples
blob: 1ba94c14049b475f18bbd6d4481c52745e838e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
The samples are in platform-specific directories.

!!! contributions are very welcome !!!


bcb - Borland C++ Builder (3.0) (found under bcb/xxx)
-----------------------------------------------------

win32dll - sample project to create a Windows dll. Requires zlib1.2.1,
           IJG jpgsrc6b and lcms1.0.14. The directories containing these
           libraries must be at the same level as the libmng directory.
           So if you're in the directory with this file and the libmng
           sources, they should be in ..\zlib , ..\jpgsrc6b and ..\lcms
           respectively.

!!!        To run the other Win32 samples you need to copy the libmng.dll
           file from here into the sample's directory !!!

mngtree  - sample project to create a little command-line tool that dumps
           the chunk-structure of a given file onto stdout.

bogus    - a completely bogus example on how to create a perfectly valid
           (though slightly biased) MNG.

mngview  - port of the Delphi mngview sample. contributed by Andy Protano.
           see also README.contrib

mngrepair- an example on how to fix invalid MNG files
           uses the new mng_copy_chunks() function and MNG_SOFTERRORS to
           'ignore' certain input-errors. This conditional *MUST* only be used
           for exactly this kind of software; eg. repair utilities.


delphi - Borland Delphi (3.0+) (found under contrib/delphi/xxx)
---------------------------------------------------------------

mngview  - sample project for a simple mng-viewer. The general unit in
           the delphi directory was translated from libmng.h It can be
           used in other projects to access libmng.dll created with the
           win32dll example above.


unix - Unix (found under contrib/gcc/xxx)
-----------------------------------------

mngtree  - basically a copy of the BCB sample. It includes a makefile for
           Linux and it's been tested on RedHat6.2