Commit c044edc3 authored by Stephane Glondu's avatar Stephane Glondu

Imported Upstream version 4.0.1

parent 341219ba
config.log
config.status
config.cache
config.h
Makefile.config
Makefile.build
customtop
Makefile
Makefile.in
aclocal.m4
autom4te.cache
configure
install-sh
missing
stamp-h1
.*\.cm[a-z]+$
.*~$
\.(sp[io]t|annot|o|cm[a-z]+|orig|omc|lock|a|so)$
\.(byt|opt|run)$
\.omakedb$
\.depend$
CVS/.*
autom4te\.cache/.*
\.\#
^missing$
stamp-h1$
config\.status$
config\.log$
config\.h$
src/camlimages\.ml$
src/META$
doc/eng\.html
doc/sphinx/_build
test/out\.image$
test/test$
examples/converter/converter$
examples/converter-external/converter$
examples/crop/crop$
examples/edgedetect/edge$
examples/gifanim/gifanim$
examples/imgstat/imgstat$
examples/liv/liv$
examples/monochrome/monochrome$
examples/normalize/normalize$
examples/resize/resize$
examples/tiffps/tiffps$
examples/ttfimg/ttfimg$
\.svn/
ee82aa9b74ac04d5c8ee2e49825f96b4bc3f032c camlimages-4.0.0
ff3f1ccc87431ff26bf9dda1495c953505ecbd23 v4.0.1
ff3f1ccc87431ff26bf9dda1495c953505ecbd23 v4.0.1
0000000000000000000000000000000000000000 v4.0.1
#!/bin/sh
export ACLOCAL='aclocal -I ../autoconf'
autoreconf --install
./configure --prefix $PREFIX
make clean all install
cp src/*.sp?t $PREFIX/lib/ocaml/site-lib/camlimages/
(cd examples/liv; make opt; /bin/cp liv.opt $PREFIX/bin)
I'm glad to announce the availability of the 2.2 version of the
CamlImages library, by Jun Furuse, François Pessaux, and Pierre Weis.
CamlImages is an image processing library, which provides to the
objective Caml programmer a lot of image processing functionality.
The version 2.2 is a stable development release:
- complete code review and rewriting of files (including auxilliaries such as
Makefiles and configuration files).
- better integration with the rest of the Objective Caml system by
renaming of the main module, originally named "Image", into the new
module name "Images". This solves a long standing problem of name
clashes with other module names provided by other libraries. However,
this is not backward compatible and you will have to modify your old
programs according to the new naming scheme: you must change
references to Image.x into references to Images.x (and similarly from
oImage.x to oImages.x). As usual, the Caml compiler will help a lot to
point out obsolete name occurrences.
- the whole set of compiled files are now installed in the library
installation directory (generally /usr/local/lib/ocaml/camlimages).
- a new export for the Ps module:
get_bounding_box : string -> bounding_box
returns he bounding box option of a postscript file image.
CamlImages provides to the objective Caml programmer:
** basic functions for image processing and loading/saving various image
file formats (hence providing a translation facility from format to format),
** an interface with the Caml graphics library allows to display
images in the Graphics module screen and to mix them with Caml
drawings,
** a freetype interface, integrated into the library:
you can draw texts into images using any truetype fonts,
** a set of example programs, including gif animation, slide show,
and a postscript converter to print images.
Sources and documentation are available from:
http://pauillac.inria.fr/camlimages/eng.htm
ftp://ftp.inria.fr/INRIA/Projects/cristal/caml-light/bazar-ocaml/camlimages-2.2.0.tgz
Contributions and comments are welcome.
Pierre Weis
I'm glad to announce the availability of the 2.3 version of the
CamlImages library, by Jun Furuse, François Pessaux, and Pierre Weis.
CamlImages is an image processing library, which provides to the
objective Caml programmer a lot of image processing functionality.
CamlImages provides to the objective Caml programmer:
** basic functions for image processing and loading/saving various image
file formats (hence providing a translation facility from format to format),
** an interface with the Caml graphics library allows to display
images in the Graphics module screen and to mix them with Caml
drawings,
** a freetype interface, integrated into the library:
you can draw texts into images using any truetype fonts,
** a set of example programs, including gif animation, slide show,
and a postscript converter to print images.
The version 2.3 is a stable development release:
- code has been made up-to-date with the latest revision of the Objective-Caml
compiler.
- better integration with the rest of the Objective Caml system by
renaming of the main module, originally named "Image", into the new
module name "Images". This solves a long standing problem of name
clashes with other module names provided by other libraries. However,
this is not backward compatible and you will have to modify your old
programs according to the new naming scheme: you must change
references to Image.x into references to Images.x (and similarly from
oImage.x to oImages.x). As usual, the Caml compiler will help a lot to
point out obsolete name occurrences.
- the whole set of compiled files are now installed in the library
installation directory (generally /usr/local/lib/ocaml/camlimages).
- a new export for the Ps module:
get_bounding_box : string -> bounding_box
returns he bounding box option of a postscript file image.
Sources and documentation are available from:
http://cristal.inria.fr/camlimages/eng.htm
ftp://ftp.inria.fr/INRIA/Projects/cristal/caml-light/bazar-ocaml/camlimages-2.3.0.tgz
Contributions and comments are welcome.
Pierre Weis
I'm glad to announce the availability of the 3.0.2 version of the
Hi,
I'm glad to announce the availability of the 4.0.1 version of the
CamlImages library, by Jun Furuse, François Pessaux, and Pierre Weis.
This is a bug fix release.
The software home page is:
http://cristal.inria.fr/camlimages/eng.htm
Sources and documentation are available from:
http://cristal.inria.fr/camlimages/camlimages-3.0.2.tgz
ftp://ftp.inria.fr/INRIA/Projects/cristal/caml-light/bazar-ocaml/camlimages-3.0.2.tgz
Contributions and comments are welcome.
Pierre Weis & June Furuse
CamlImages is an image processing library, which provides to the
objective Caml programmer a lot of image processing functionality.
......@@ -18,17 +35,3 @@ CamlImages provides to the objective Caml programmer:
** a set of example programs, including gif animation, slide show,
and a postscript converter to print images.
The version 3.0.2 contains a fix for the integer overflow
vulnerability in pngread.c.
Sources and documentation are available from:
http://cristal.inria.fr/camlimages/eng.htm
ftp://ftp.inria.fr/INRIA/Projects/cristal/caml-light/bazar-ocaml/camlimages-3.0.2.tgz
Contributions and comments are welcome.
Jun Furuse
4.0.1
* Minor bug fixes, patch submitted by Damien Doligez
4.0.0
* Stop supporting the autoconf build. (It might works though.)
* Instead of autoconf, using omake and ocamlfind
* Subpackages: no need to link codes for uninterested format.
* Stop supporting lablgtk1
- Ximage2 module is now Ximage, and the older Ximage is removed
- OXimage2 module is now OXimage, and the older OXimage is removed
3.2.0
* Misnamed version. It should have been 3.0.3 or something.
* Small bug fix for image load memory allocation vulnerability
3.0.2
* O'Caml 3.11 port.
* Integer overflow vulnerability fix for pngread.c
3.0.1
......@@ -26,7 +42,7 @@
* bug fix at load_Glyph at freetype1/ftintf.c
2.00
* O'Caml 3.03 dll support. (This and later versions of camlimages
will not work with the older O'Camls.
will not work with the older O'Camls).
* Better support for giflib library
1.03
* Image.save takes the image format now as an option.
......
.
./Announce-3.0.2
./README
./INSTALL
./Makefile.config.in
./config.h
./config.status
./Makefile.variables
./Announce
./aclocal.m4
./Announce-2.2
./tools
./tools/recopy
./tools/COPY
./tools/putcopy
./tools/COPY-JPF
./src
./src/META
./src/rgb24.ml
./src/oXvthumb.ml
./src/mstring.ml
./src/oversized.h
./src/rgba32.mli
./src/jis_unicode.mli
./src/oColor.mli
./src/gifread.c
./src/index8.ml
./src/oTiff.ml
./src/pngwrite.c
./src/oPpm.ml
./src/index16.mli
./src/region.mli
./src/bmp.ml
./src/tmpfile.ml
./src/geometry.mli
./src/blend.mli
./src/fttext.ml
./src/graphic_image.ml
./src/imagegdk.mli
./src/jpegwrite.c
./src/gifwrite.c
./src/cmyk32.mli
./src/.depend
./src/colorhist.mli
./src/images.mli
./src/oPs.ml
./src/bmp.mli
./src/geometry.ml
./src/fttext.mli
./src/xvthumb.ml
./src/jpeg.ml
./src/index16.ml
./src/reduce.ml
./src/oFreetype.ml
./src/ximage2.ml
./src/mstring.mli
./src/png.ml
./src/bitmap.ml
./src/oXimage.ml
./src/oImages.ml
./src/pngread.c
./src/rgb24.mli
./src/oJpeg.ml
./src/jis_unicode.ml
./src/tmpfile.mli
./src/tiffwrite.c
./src/reduce.mli
./src/ftlow.mli
./src/oXimage2.ml
./src/Makefile
./src/freetype.ml
./src/ppm.ml
./src/ftintf.c
./src/jpeg.mli
./src/region.ml
./src/xpm.mli
./src/bitmap.mli
./src/oXimage.mli
./src/oColor.ml
./src/jis_table.ml
./src/oImages.mli
./src/cmyk32.ml
./src/.cvsignore
./src/xpmread.c
./src/oXimage2.mli
./src/gif.mli
./src/ps.mli
./src/ftlow.ml
./src/ppm.mli
./src/images.ml
./src/png.mli
./src/Makefile.am
./src/gif.ml
./src/tiffread.c
./src/color.ml
./src/colorhist.ml
./src/imagegdk.ml
./src/oGraphic.ml
./src/genimage.mli
./src/META.in
./src/genimage.ml
./src/xpmwrite.c
./src/color.mli
./src/units.ml
./src/ximage2.mli
./src/graphic_image.mli
./src/ximage.ml
./src/xpm.ml
./src/xvthumb.mli
./src/tiff.mli
./src/oBmp.ml
./src/oPng.ml
./src/Makefile.in
./src/blend.ml
./src/camlimages.ml.in
./src/info.mli
./src/oXvthumb.mli
./src/oXpm.ml
./src/index8.mli
./src/ps.ml
./src/image_intf.mli
./src/jpegread.c
./src/camlimages.ml
./src/oGif.ml
./src/freetype.mli
./src/tiff.ml
./src/rgba32.ml
./src/ximage.mli
./LICENSE
./Makefile
./.cvsignore
./Announce-3.0.0
./install-sh
./examples
./examples/gifanim
./examples/gifanim/README
./examples/gifanim/guienv.ml
./examples/gifanim/Makefile
./examples/gifanim/.cvsignore
./examples/gifanim/gifanim.ml
./examples/gifanim/Makefile.am
./examples/gifanim/usleep.ml
./examples/gifanim/Makefile.in
./examples/ttfimg
./examples/ttfimg/.depend
./examples/ttfimg/ttfimg.ml
./examples/ttfimg/Makefile
./examples/ttfimg/.cvsignore
./examples/ttfimg/Makefile.am
./examples/ttfimg/Makefile.in
./examples/resize
./examples/resize/README
./examples/resize/.depend
./examples/resize/Makefile
./examples/resize/.cvsignore
./examples/resize/resize.ml
./examples/resize/Makefile.am
./examples/resize/Makefile.in
./examples/imgstat
./examples/imgstat/README
./examples/imgstat/.depend
./examples/imgstat/Makefile
./examples/imgstat/.cvsignore
./examples/imgstat/imgstat.ml
./examples/imgstat/Makefile.am
./examples/imgstat/Makefile.in
./examples/crop
./examples/crop/README
./examples/crop/.depend
./examples/crop/Makefile
./examples/crop/.cvsignore
./examples/crop/crop.ml
./examples/crop/Makefile.am
./examples/crop/Makefile.in
./examples/Makefile
./examples/tiffps
./examples/tiffps/README
./examples/tiffps/.depend
./examples/tiffps/Makefile
./examples/tiffps/.cvsignore
./examples/tiffps/Makefile.am
./examples/tiffps/tiffps.ml
./examples/tiffps/Makefile.in
./examples/normalize
./examples/normalize/normalize.ml
./examples/normalize/.depend
./examples/normalize/Makefile
./examples/normalize/.cvsignore
./examples/normalize/Makefile.am
./examples/normalize/Makefile.in
./examples/.cvsignore
./examples/converter
./examples/converter/.depend
./examples/converter/Makefile
./examples/converter/.cvsignore
./examples/converter/Makefile.am
./examples/converter/converter.ml
./examples/converter/Makefile.in
./examples/edgedetect
./examples/edgedetect/README
./examples/edgedetect/edge.ml
./examples/edgedetect/.depend
./examples/edgedetect/Makefile
./examples/edgedetect/.cvsignore
./examples/edgedetect/Makefile.am
./examples/edgedetect/Makefile.in
./examples/Makefile.am
./examples/liv
./examples/liv/liv.ml
./examples/liv/README
./examples/liv/iconcap
./examples/liv/mylazy.mli
./examples/liv/enhance.ml
./examples/liv/edge.ml
./examples/liv/pathfind.ml
./examples/liv/livmisc.ml
./examples/liv/.depend
./examples/liv/jWidget.ml
./examples/liv/cache.ml
./examples/liv/gui.ml
./examples/liv/mylazy.ml
./examples/liv/FileUnknown.xpm
./examples/liv/FilesLink.xpm
./examples/liv/Makefile
./examples/liv/seq.ml
./examples/liv/faceanm.gif
./examples/liv/.cvsignore
./examples/liv/jpf.ml
./examples/liv/Folder.xpm
./examples/liv/viewer.ml
./examples/liv/livshtype.ml
./examples/liv/cache.mli
./examples/liv/File.xpm
./examples/liv/scandir.ml
./examples/liv/deficon.ml
./examples/liv/Monalisa.xpm
./examples/liv/tout.ml
./examples/liv/display.ml
./examples/liv/Makefile.am
./examples/liv/livshtype.mli
./examples/liv/livdemo.jpg
./examples/liv/iconcap.ml
./examples/liv/FolderLink.xpm
./examples/liv/BulletHole.xpm
./examples/liv/icon.ml
./examples/liv/Makefile.in
./examples/liv/livsh.ml
./examples/liv/sound.xpm
./examples/Makefile.in
./examples/monochrome
./examples/monochrome/.depend
./examples/monochrome/Makefile
./examples/monochrome/monochrome.ml
./examples/monochrome/.cvsignore
./examples/monochrome/Makefile.am
./examples/monochrome/Makefile.in
./stamp-h1
./FILES
./doc
./doc/test-small.jpg
./doc/lvdemo-icon.jpg
./doc/fumicaml2-small.jpg
./doc/edge-icon.jpg
./doc/ttfimg.jpg
./doc/crop.jpg
./doc/eng.html.in
./doc/ttfimg-icon.jpg
./doc/Makefile
./doc/lvdemo.jpg
./doc/.cvsignore
./doc/test.jpg
./doc/edge.jpg
./doc/Makefile.am
./doc/eng.htm
./doc/Makefile.in
./doc/eng.html
./doc/crop-icon.jpg
./Makefile.am
./missing
./Makefile.rules
./test
./test/micap.ttf
./test/.depend
./test/Makefile
./test/.cvsignore
./test/images
./test/images/png.png
./test/images/jpg.jpg
./test/images/png-alpha.png
./test/images/pgm.pgm
./test/images/xpm.xpm
./test/images/apgm.pgm
./test/images/ppm.ppm
./test/images/.cvsignore
./test/images/mmm.anim.gif
./test/images/apbm.pbm
./test/images/appm.ppm
./test/images/tif.tif
./test/images/eps.eps
./test/images/bmp.bmp
./test/images/gif.gif
./test/images/pbm.pbm
./test/test.ml
./test/Makefile.am
./test/Makefile.in
./config.h.in
./configure.ac
./Makefile.in
./CHANGES
./configure
CamlImages - Objective Caml image processing library
*** This is OBSOLETE.
This document describes how to build camlimages using automake,
which is now OBSOLETE and no longer supported.
This library is reliable but still under development.
*** Requirements
To install CamlImages library, you need the following softwares:
* ocaml 3.08 or higher
* GNU make
* ocaml 3.11 or higher
* GNU make
* automake (1.7.9 does not work. 1.9.6 works)
and that is all. But note that this is the minimum requirement: you
......@@ -46,19 +48,17 @@ install the corresponding external libraries:
* ghostscript for PS format
See http://www.ghostscript.com/
Additionaly, optional support for either lablgtk and lablgtk2 is provided, but
not both at once, as they use conflicting symbols:
* lablgtk, an Objective Caml interface to gtk+
* lablgtk2, an Objective Caml interface to gtk+
http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
*** Installation procedure
*** Installation procedure by automake
Generating build scripts
------------------------
This is only needed if you're using CVS version directly.
* make sure ocaml autoconf macros, available from bazar-ocaml/autoconf
directory, are present in aclocal macro search path, by any of the following
directory (http://camlcvs.inria.fr/cgi-bin/cvsweb/bazar-ocaml/autoconf/),
are present in aclocal macro search path, by any of the following
solution:
- export ACLOCAL='aclocal -I <directory>' before invoking autoreconf
- set up a dirlist file in automake macro directory, as explained in aclocal
......
CamlImages - Objective Caml image processing library
This library is reliable but still under development.
*** Requirements
To install CamlImages library, you need the following softwares:
* ocaml 3.11.x or higher
* findlib (aka ocamlfind,
http://www.camlcity.org/archive/programming/findlib.html)
* omake (http://omake.metaprl.org/index.html)
Note that this is the minimum requirement: you can read/write BMP or
PXM (PPM, PGM, PBM) image formats but no other formats. If you want to
deal with other image formats, you need to install the corresponding
external libraries:
* libpng for PNG format
http://www.libpng.org/pub/png/libpng.html
http://sourceforge.net/projects/libpng/
* libjpeg for JPEG format
The Independent JPEG Group's software
ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
* libtiff for TIFF format
http://www.libtiff.org/
ftp://ftp.remotesensing.org/pub/libtiff/
* libxpm for XPM format (could be already by the X server installation)
X contrib libraries ftp directory
ftp://ftp.x.org/contrib/libraries
* freetype for drawing texts using truetype fonts
The FREETYPE Project
http://sourceforge.net/projects/freetype/
* libungif for GIF format
Because of the GIF patent problem of Unisys, we do not
recommend to use GIF file format. If you really want to
use GIF, do it in your own risk.
Libungif, a library for using GIFs without compression.
http://sourceforge.net/projects/libungif/
* ghostscript for PS format
See http://www.ghostscript.com/
* lablgtk2, an Objective Caml interface to gtk+
http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
*** Installation procedure by omake
% omake
% omake install
*** OLD installation procedure by automake (not supported any more)
* GNU make
* automake (1.7.9 does not work. 1.9.6 works)
Generating build scripts
------------------------
This is only needed if you're using CVS version directly.
* make sure ocaml autoconf macros, available from bazar-ocaml/autoconf
directory, are present in aclocal macro search path, by any of the following
solution:
- export ACLOCAL='aclocal -I <directory>' before invoking autoreconf
- set up a dirlist file in automake macro directory, as explained in aclocal
documentation
* run autoreconf --install
Configuration
-------------
Just run the standard configure script:
% ./configure
If the script can't find some installed external libraries, this is probably
because they are installed in locations not included in linker or
preprocessor configuration. You'll have to passe proper flags while running
configure script:
%./configure CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
%./configure CFLAGS=-I/sw/include LDFLAGS=-L/sw/lib
If problems persist, check config.log for failure details.
The script allow some user configuration. Check help output for details:
% ./configure --help
Compilation
-----------
type
% make
and wait.
Test
----
Before you actually install the library, you can check that it
really works, by running examples in the test directory. For the test
programs,
% cd test