GDB file functions

The GDB database functions can be used to access information in any image or vector file supported by the GDB library.

DBChannels()
DBChannels() is used to determine the number of image channels in an open database.
DBChanType()
DBChanType() is used to determine the type of image data stored in an image channel.
DBClose()
DBClose() is used to terminate access to a database file opened with DBOpen().
DBCreate()
DBCreate() is used to create a GDB supported database.
DBDelete()
DBDelete() is used to delete the named GDB supported data set of the indicated format.
DBGetBinaryLength()
DBGetBinaryLength() is used to get the length of a binary (type 180) segment.
DBGetChanInfo()
DBGetChanInfo() is used to retrieve a the channel layout info structure.
DBHashImage()
DBHashImage() is used to compute the hash value of a window of imagery on a supported database.
DBHashVector()
DBHasVector() is used to compute the hash value of a vector layer.
DBImageHistogram()
DBImageHistogram() is used to compute a histogram of an image with caller controlled binning.
DBLines()
DBLines() is used to determine length of an open image file in scanlines.
DBNextSeg()
DBNextSeg() is used to find a segment of a particular type.
DBOpen()
DBOpen() is used to establish access to an image file.
DBPixels()
DBPixels() is used to determine the width of an open image file in pixels.
DBReadArray()
DBReadArray() is used to read a PCIDSK array segment.
DBReadBinary()
DBReadBinary() is used to read binary (type 180) segment data from a GDB data set.
DBReadChanDesc()
DBReadChanDesc() is used to read the channel descriptor of an image channel.
DBReadGeoInfo()
DBReadGeoInfo() is used to read the map units and bounding rectangle of an image database.
DBReadHistory()
DBReadHistory() is used to read a history record.
DBReadLine()
DBReadLine() is used to read a portion of an image scanline into a variable.
DBReadLUT()
DBReadLUT() is used to read a 256-entry lookup table into a byte array.
DBReadPCT()
DBReadPCT() is used to read a 768-entry pseudocolor table into a byte array.
DBReadSegDesc()
DBReadSegDesc() is used to read the Description for the specified segment.
DBReadWindow()
DBReadWindow() is used read a portion of an image window into a buffer.
DBSegCreate()
DBSegCreate() is used to add a new segment to a GDB file.
DBSetChanInfo()
DBSetChanInfo() is used to set the external channel layout information for a PCIDSK file channel.
DBSync()
DBSync() is used to synchronize the database cache with the a database file.
DBWriteArray()
DBWriteArray() is used to write an array to a PCIDSK file as an array segment.
DBWriteBinary()
DBWriteBinary() is used to write binary (type 180) segment data to a GDB data set.
DBWriteChanDesc()
DBWriteChanDesc() is used to write a channel descriptor to the specified image channel.
DBWriteGeoInfo()
DBWriteGeoInfo() is used to write the map units and bounding rectangle of an image database.
DBWriteHistory()
DBWriteHistory() is used to write a new history record.
DBWriteLine()
DBWriteLine() is used to write a portion of an image scanline.
DBWriteLUT()
DBWriteLUT() is used to write a 256-entry lookup table from a byte array into a database segment.
DBWritePCT()
DBWritePCT() is used to write a 768-entry pseudocolor table from a byte array into a database segment.
DBWriteWindow()
DBWriteWindow() is used to write a portion of an image window stored in a buffer.
PCIDSKCreate()
PCIDSKCreate() is used to create a PCIDSK database and open it.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.