aboutsummaryrefslogtreecommitdiff
path: root/sys/imfort/doc/imhcpy.hlp
blob: 3a36816d2713eb45a2388165266526a6b2e2401b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.help imhcpy Sep86 imfort
.ih
NAME
imhcpy -- copy an image header
.ih
SYNOPSIS
.nf
subroutine imhcpy (oim, nim, ier)

integer		oim		#I image descriptor of input image
integer		nim		#I image descriptor of output image
integer		ier		#O status return
.fi
.ih
DESCRIPTION
The \fIimhcpy\fR procedure is used to copy the non-pixel fields in the header
of one image to another image, given the runtime descriptors of the two images.
The images must previously have been opened with \fIimopen\fR or \fIimopnc\fR.
The header fields which are \fInot\fR copied are those describing the physical
attributes the pixel array, i.e., the number of axes, the physical dimensions
of the image, the pixel datatype code, and the minimum and maximum pixel values.
.ih
RETURN VALUE
A zero status will be returned provided both image descriptors are valid.

IE_MAGIC:	illegal imfort image descriptor
.ih
SEE ALSO
imgsiz, imgkw, impkw
.endhelp