GC Image Users' Guide

File Input and Output

GCxGC chromatograms have an intensity value (or total intensity value for MS data) for each chromatographic data-point pixel. GC Image supports full double-precision floating-point representation, which is higher precision than most digital image formats and many chromatographic and multi-spectral formats. For this reason and to support storage of ancillary data, GC Image employs special file formats for representing GCxGC chromatographic images and metadata. For each GCxGC image, there are two files:

File Menu Options

The File menu in the Image Viewer provides access to utilities for image input and output, including:

In addition images (or images of 3D views) can be copied to the system clipboard (from where they can be pasted into other applications), by clicking on the image pane (or 3D view pane) and then pressing the <F2> key. The user is asked to choose either to copy the full image or to copy a selected region. (The full image is copied from 3D view.) A region is selected by click-and-drag of the left mouse-button.

As illustrated in Figure 1, there are several File menu options for input and output.

File Menu
Figure 1: The File menu with the Import Image option selected.

Specifically, the image input and output options are:

  • File->Export Image launches a file-system browser for exporting an image in a foreign file format (i.e. , not GC Image format). When exported, the currently open image is converted from the GC Image format to the external file format and stored in the folder and file location specified by the user. For the picture formats, the user may choose to attach or not to attach axes to the exported image and control the region, size, and orientation of exported pictures. For the CSV format, the user may choose to export the image into a one dimensional or two dimensional CSV file. In a one dimensional CSV file, the data values are stored in the acquisition order. In a two dimensional CSV file, the data values are stored in the way that the chromatogram is displayed. For the Text MS format, the user may choose to export all spectra in the image or the spectra of selected blobs. This menu option is not available if no image is open.

    GC Image can export to a variety of image formats:

    Extension Format
    .bmp Bitmap - common Windows format.
    .jpg JPEG - Joint Photographic Experts Group.
    .png PNG - Portable Network Graphics.
    .pnm PNM - Portable Anymap File Format.
    .tif TIFF - Tagged Image File Format.
    .csv CSV - Comma Separated Value format
    .gctm Text MS format - GC Image Text Multi-Spectrum Format.
    .mzXML mzXML - Open data format for storage and exchange of mass spectroscopy data.

    Most foreign image file formats do not support the high-precision representation used by GC Image, so exported images may have significantly degraded precision. However, relatively little precision is required for viewing, printing, and other simple purposes. Additional binary and plain-text formats will be supported in the future.

  • File->Export Image Model exports an image model to a file in XML-based 2D Chromatographic Image Model (GCM) format. The model format distills essential information from the image in a form that is smaller and easier to communicate than large GCxGC datasets. The model represents peaks by horizontal and vertical profiles computed by directional integration. Multi-spectral images contain profiles for each channel. Other models will be developed and supported in future versions.
  • File->Import Image Model imports an image model from a file in 2D Chromatographic Image Model (GCM) format.
  • File->Print Image launches a print dialog to print an image, shown in Figure 3. The user can preview the printed page at varying magnifications; can control margins, orientation, and alignment; can stretch the image to a full page (changing aspect ratio); and can choose to attach or not to attach axes. Also, regions can be copied to the clipboard from the image view or 3D view, with the <F2> key, as described above and individual windows can be copied to the clipboard with the <ALT>-<PrtSc> keys, and then pasted into other applications (e.g., presentation software).
    Print Dialog
    Figure 3: The Print dialog.
  • The File menu also provides options for reading and writing image-related data:

    and an option to exit:

    The options for saving blob peak tables and templates are described in Blob Analysis and Chemical Identification. The options for importing and exporting graphics tables are described in Graphics and Areas. When the exit action is selected, the currently open image is discarded. If an image is open and has been altered since the last Save or Save As operation, GC Image prompts the user whether or not the image is to be saved before exiting. It is best to save changed images that are to be retained when they are changed to prevent the loss of unsaved work (e.g., in the event of a system crash or power failure) and before requesting the program to exit.

    Image Attributes

    The software provides basic information about the chromatogram (acquisition conditions, operator name, etc.) in Image Attributes. It can import and display additional readable metadata such as instrument model, method file and sample name, from data files generated by Agilent ChemStation. It also allows users to add and edit custom metadata fields. The Image Attribute dialog has two tabs as shown in Figure 4. The “General” tab shows the general image information. The “Miscellaneous” tab shows the metadata imported from raw data files. These imported metadata information are marked as “Instrument” and cannot be edited or deleted.

    General Tab in Image Attributes Misc Tab in Image Attributes
    a. General Attributes. b. Miscellaneous Attributes.
    Figure 4 The Image Attributes Dialog.

    To add or edit custom metadata in Image Attributes:

    1. Go to Menu: View > Image Attributes
    2. To add a custom metadata to the table click the Add Row button and enter Name and Value.
    3. To delete a custom metadata select a row and click the Delete Row button.

    LIMS Number

    GC Image supports assigning a LIMS number that indicates a set of runs from a vial related to a specific request. If a data file is an Agilent CH file and is inside a .D folder with a SAMPLE.MAC file, GC Image will try to read the LIMS number from the Sample Info field automatically. Once assigned the LIMS number will be reported as part of Image Attributes sub-report in Summary Report.