|
Packit |
93f41a |
The samples are in platform-specific directories.
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
!!! contributions are very welcome !!!
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
bcb - Borland C++ Builder (3.0) (found under bcb/xxx)
|
|
Packit |
93f41a |
-----------------------------------------------------
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
win32dll - sample project to create a Windows dll. Requires zlib1.2.1,
|
|
Packit |
93f41a |
IJG jpgsrc6b and lcms1.0.14. The directories containing these
|
|
Packit |
93f41a |
libraries must be at the same level as the libmng directory.
|
|
Packit |
93f41a |
So if you're in the directory with this file and the libmng
|
|
Packit |
93f41a |
sources, they should be in ..\zlib , ..\jpgsrc6b and ..\lcms
|
|
Packit |
93f41a |
respectively.
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
!!! To run the other Win32 samples you need to copy the libmng.dll
|
|
Packit |
93f41a |
file from here into the sample's directory !!!
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
mngtree - sample project to create a little command-line tool that dumps
|
|
Packit |
93f41a |
the chunk-structure of a given file onto stdout.
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
bogus - a completely bogus example on how to create a perfectly valid
|
|
Packit |
93f41a |
(though slightly biased) MNG.
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
mngview - port of the Delphi mngview sample. contributed by Andy Protano.
|
|
Packit |
93f41a |
see also README.contrib
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
mngrepair- an example on how to fix invalid MNG files
|
|
Packit |
93f41a |
uses the new mng_copy_chunks() function and MNG_SOFTERRORS to
|
|
Packit |
93f41a |
'ignore' certain input-errors. This conditional *MUST* only be used
|
|
Packit |
93f41a |
for exactly this kind of software; eg. repair utilities.
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
delphi - Borland Delphi (3.0+) (found under contrib/delphi/xxx)
|
|
Packit |
93f41a |
---------------------------------------------------------------
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
mngview - sample project for a simple mng-viewer. The general unit in
|
|
Packit |
93f41a |
the delphi directory was translated from libmng.h It can be
|
|
Packit |
93f41a |
used in other projects to access libmng.dll created with the
|
|
Packit |
93f41a |
win32dll example above.
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
unix - Unix (found under contrib/gcc/xxx)
|
|
Packit |
93f41a |
-----------------------------------------
|
|
Packit |
93f41a |
|
|
Packit |
93f41a |
mngtree - basically a copy of the BCB sample. It includes a makefile for
|
|
Packit |
93f41a |
Linux and it's been tested on RedHat6.2
|
|
Packit |
93f41a |
|