Writes a 24-bit image as the first image in the file.
Return value
Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.
Description
The array image is assumed to be width x height x 3 bytes. DF24putimage overwrites any information that exists in the HDF file. To append a new image to a file instead of overwriting an existing file, use DF24addimage.
FORTRAN
integer function d2pimg(filename, image, width, height)