The following example opens the file irvine.pix in the demo directory for read access, retrieves the number of pixels and lines and prints them, and then closes the file.
local integer tfid
tfid = DBOpen( GetPCIHOME() + "/demo/irvine.pix", "r" )
print "Lines:",DBLines(tfid)," Pixels:",DBPixels(tfid)
call DBClose( tfid )
Output
Lines:512 Pixels:512
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.