[Back to Interface] [Next]

DFR8addimage/d8aimg

intn DFR8addimage(char *filename, VOIDP image, int32 width, int32 height, uint16 compress)

filename IN:

Name of the file

image IN:

Array containing the image data

width IN:

Number of columns in the image

height IN:

Number of rows in the image

compress IN:

Type of compression to use, if any

Purpose

Appends the RIS8 for the image to the file.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

DFR8addimage is functionally equivalent to DFR8putimage, except that DFR8putimage cannot append image data; it only overwrites.

FORTRAN

integer function d8aimg(filename, image, width, height, compress)

character*(*) filename, image

integer width, height

integer compress



[Back to Interface] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.