output_image_for_html - Makes html for images
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
const KJB_image *ip,
const char *dir,
const char *file_name
This routine writes an image into directory "dir", and writes an html line
linking to it into the file pointed to by "index_fp". The format of the image
file is determined by the internal option "html-image-file-format" which
takes as an argument an image file format suffix. The default is "gif". The
option can be set by the user in programs which call set_image_html_options()
as part of their user option functions, or by the programmer directly
throught that function. Tiff is not that well supported by browsers (yet).
If the image location requires a full URL, then the similar routine
output_image_for_html_2() should be used instead.
NO_ERROR on success, and ERROR on failure with an appropriate error
message being set.
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.