Sample Application

Here we describe a sample application, mbs2tiff.exe, (for which the Microsoft C++ source/project files are available to qualified developers ...) to illustrate the use of the dll.

GUI

The mbs2tiff.exe has a very simple GUI as shown below:

mbs2tiff main window

Input

    MEBES File - use the Browse button to nagvigate to and select a MEBES file or a JOB Deck file.

    Data Extents (llx,lly,urx,ury) - upon opening the file, mbs2tiff calls the acsMBS_GetExtents and gets back the extents of the data placing the information in these fields.

    Extract Window - (llx,lly,urx,ury) - the user enters the desired window (also known as the region of interest or ROI). This data will be passed to the acsMBS_SetROIWindow function call.

Output

    TIFF File - use the Browse button to select the name/directory of the output tiff file. This information will be passed as the filename argument in acsMBS_GetROIImageToDisk

    Dimension (width,height) - enter the width and height of the TIFF file in pixels. The information entered here will be passed as an argument to acsMBS_GetROIImageToDisk

Buttons

    Extract - when pressed makes the call to acsMBS_GetROIImageToDisk shich writes the output to file. If for some reason the return is non-zero a message is displayed describing the problem.

    Stop Extract - this is used to interrupt an extraction by calling acsMBS_SetStopProcess with the stop flag=1. When the DLL yields the CPU it will check the flag value and halt.

    Close - closes the mbs2tiff.exe program





  Price Download Revision History


ARTWORK CONVERSION SOFTWARE, INC.       Company Profile
417 Ingalls St., Santa Cruz, CA 95060    Tel (831) 426-6163     Fax 426-2824    email: info@artwork.com