Command
QisLib_GetHiresImage

QisLib_GetHiresImage


Function:
	int QisLib_GetHiresImage(int DPI, const char* OutFileName);

Inputs:
	DPI: Resolution of output image in dots per inch.
	OutFileName: Complete path of the tiff file to be generated.

Return:
	success: 0
	failure: one of the following values :

Errors:
	-1: QisLib has not been initialized.
	-2: One or more of the input arguments is invalid or null.
	-3: Unable to create output file.
	-4: No GDSII or OASIS file has been opened.
	-5: File open in progress, operation not permitted.

Description:
	- This function generates a high resolution monochrome image and writes it into a
	file.
	- The image format is Tiff using packbits compression.
	- The bitmap contains only data present in the current window for the currently opened
	cell based on the layers on/off setting.
	- All display filters are disregarded while creating the Tiff file.
	- Extracting a Tiff image could take some time. To allow QisLib to process events
	while executing this command, QisLib_SetProcessEvents must be on. For Unix/Linux,
	the program's application context must be passed to QisLib_InitLib.
	- If the file open operation needs to be cancelled, call QisLib_Stop. To be able to
	do so, QisLib_SetProcessEvents must be on. Also, on Unix/Linux, the program's
	application context must be passed to QisLib_InitLib.

References:
QisLib_GetHiresImageTcp
QisLib_SetProcessEvents
QisLib_InitLib
QisLib_Stop