|
Description
PCIDSKCreate() is used to create a PCIDSK database and open it.
Call Signature
int PCIDSKCreate ( string filename, int pixels, int lines, int channels, string data_type, string interleaving )
Return Value
int
The function returns the handle of a writable PCIDSK FILE that should be closed with DBClose().
Arguments
string filename:
Name of file to create.
int pixels:
Width of database in pixels.
int lines:
Length of database in scanlines.
int channels:
Number of image channels in the database.
string data_type:
Type of the image channels. One of "8U", "16U", "16S" or "32R"
string interleaving:
The interleaving type of the file. Either "PIXEL" or "BAND"
Remarks
A basic file structure is created; specific fields(e.g. descriptive text fields) can be updated later.
PCIDSKCreate() assumes the file does NOT exist before creating it and will exit with an error if a file with the same name already exists.
See also
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.