[Top] [Prev] [Next] [Bottom]

GRgetiminfo/mggiinf

intn GRgetiminfo(int32 ri_id, char *gr_name, int32 *ncomp, int32 *data_type, int32 *interlace, int32 dim_sizes[2], int32 *num_attrs)
ri_id

IN:

General raster interface identifier returned by GRcreate or GRselect

gr_name

OUT:

Buffer for the returned name of the general raster image

ncomp

OUT:

Buffer for the returned number of components in the image

data_type

OUT:

Buffer for the returned data type of the image data

interlace

OUT:

Buffer for the returned interlace mode of the stored image data

dim_sizes

OUT:

Buffer for the returned sizes of each image dimension

num_attrs

OUT:

Buffer for the returned number of attributes assigned to the image

Purpose

Reports general information about the specified raster image.

Return value

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

Description

Each of the arguments can be set to NULL, in which case the corresponding item of information will not be retrieved.

FORTRAN

integer function mggiinf(ri_id, gr_name, ncomp, data_type, interlace, dim_sizes, num_attrs)

integer ri_id, ncomp, data_type, interlace, num_attrs

integer dim_sizes[2]

character* (*) gr_name



[Top] [Prev] [Next] [Bottom]

hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.