NAME
output_image_for_html_2 - Makes html for images
SYNOPSIS
#include "i/i_html.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
int output_image_for_html_2
(
const KJB_image *ip,
FILE *index_fp,
const char *dir,
const char *file_name,
const char *location_str
);
DESCRIPTION
This routine is similar to output_image_for_html(), except that there is an
additional argument, "location_str" for the URL prefix. (The routine
output_image_for_html() assumes relative paths). If location str is NULL,
then this routine behaves exactly as output_image_for_html(). The variable
location_str might be something like "http://kobus.ca/research/fancy_stuff/".
Typically a trailing slash is necessary.
RETURNS
NO_ERROR on success, and ERROR on failure with an appropriate error
message being set.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Kobus Barnard
SEE ALSO
output_image_for_html