Image SDK C++ Sample

Overview

The Image Sample is designed to show some of the more advanced Image SDK features.

 

File Menu

The File menu allows the use of common items such as Open, Close and Save which use the appropriate DLL for the appropriate image type. For all saving and loading of TIFF, CALS or MMR files, BITIFF is used. JPEG files can be manipulated using BIJPEG. This menu also allows Print and Print Options which use BIPRINT.DLL. To acquire an image in this menu or select the TWAIN Source the BITWAIN DLL is used. This DLL allows the setting of options like scan area, mode, resolution, brightness, contrast and so on.

 

Edit Menu

The Edit menu utilizes all of the Clipboard commands, such as Cut, Copy and Paste, as well as Undo and the level of Undo events.

 

View Menu

The View menu can Scale the viewable image to the window, Zoom to a specified ratio, rotate the project workspace, invert the image, flip the workspace and set the viewable tool bars. Here, the BIDISP DLL is used for all zooming functionality. Both zooming to a ratio and a selected area can be accomplished using the BIDISP. In order to rotate, flip or invert the workspace, the BIDIB DLL can be used. This menu also can set the Magnifying Glass or Panning mode.

 

Image Menu

The Image menu firstly offers Dithering with Error Diffusion and Ordered Dithering. The Error Diffusion allows dithering using eight separate methods while the Ordered option allows Clustered or Dispersed dithering. Dithering methods can be applied using the BIImage DLL. The Image menu can be used to halftone or scale images which is a BIDIB function. Also, there is an example of conversion of color depth using the BIDIB DLL. Info of the current image can be viewed using BITIFF for only a TIFF or CALS file type. Also, the Dimensions of the image can be found by including BIDIB and is available for TIFF, FAX, BMP, JPEG, PCX, TGA, CLP, WMF, EMF, CALS, PNG, DCX, GIF and PDF file formats. However, this SDK does not support all of those file types. This menu also offers image Brightness, Saturation, Contrast, Intensity and other Color options, which also use BIImage.

 

Tools Menu

The Tools menu shows many of the more advanced BITIFF DLL functions. These include, page forward, page backward, insert image, remove image, move image, reordering changes and split the TIFF file. Also available here are cut, crop and skew.

 

Window Menu

The Window menu controls the placement and sizing of multiple windows located in the Annotation Sample Application. It allows Cascading and Tiling of windows as well as the Arrangement of Icons.

 

Help Menu

The Help menu supplies contact and version information as well as Copyright information.

 

Location:

<Installation Folder>\Black Ice Software LLC\Image SDK\Sample Source Codes\DLL\C++\Image SDK Sample

 

Project file:

Compiler:

Image SDK C++ Sample_ DotNet.sln

Visual Studio 2005