web_page_logo.gif


TiffExtract User Interface

TiffExtract is a sample client for QISLIB. It enables a user to select one or more layers, select the GDSII file, select a text file containing a list of windows and then creates a TIFF bitmap for each window in the list.

After starting TiffExtract the user is presented with a simple dialog.

te_gui_1.gif

Selecting Layers to Process

Notice that the first entry is the Layer to Translate. This field can take either an individual layer or a list of layers separated by spaces or commas.

te_gui_2.gif

The reason for this is that the TiffExtract is going to tell QISLIB what layers to pass through its input layer filter prior to opening the GDSII file. This reduces the time it takes to load the GDSII file and reduces the memory footprint by not loading data we are not going to use.


Selecting the GDSII File

Once the layers to process have been selected, the user can select the GDSII file. A simple file browser enables this. We are going to select a test file called caw_test1.gds.

te_gui_3.gif

Depending on the size of the file, it could take a few seconds to a few minutes to open. The simple code for TiffExtract does not include any progress bar -- however a "real" application should show some kind of progress so that the user does not get discouraged while waiting.


Selecting the Coordinates File

TiffExtract reads the windows to extract from a text file.

te_gui_4.gif

Here is the format of each window extraction in this file:

0,0,50,50 500,500 TIFF c:/tmp/GdsData/CawTestOut/0_0.tif


0,0                                 LLx, LLy of the window in user units
50,50                               URx, URy of the window in user units
500,500                             width and height of the bitmap in pixels
TIFF                                output TIFF format
c:/tmp/GdsData/CawTestOut/0_0.tif   full path to the output file for this window

Note: the user should insure that the ration of w/h for the window and the ration of w/h for the pixels matches.


Translation

Now click on the Translate button; the program will generate multiple TIFF images and write them to disk.

te_gui_5.gif

Here is what layer 17 looks like in the caw_test.gds (this chip is about 5200 x 5200 um)

layer17_snapshot.gif

and here is one of the 500 x 500 pixel (50 x 50 um) windows:

window5_9.gif