TIFF C++ Sample

 cid:image002.png@01CF4DCB.43184E80

Overview

The TIFF Sample is designed to show some workspace manipulation but mostly shows a working example of multi-page TIFF manipulation.

 

File Menu

The File menu allows the use of common items such as Open, Close and Save which use the BITIFF.DLL. 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. This menu also allows Combine functionality. Using BIDIB, DIB’s or BMP’s can be layered using these menu items.

 

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 can be used to halftone or scale images which is a BIDIB function. Also, there is an example of converting a 24 bit image to an 8 bit image 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 sample does not support all of those file types.

 

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 Inc\ Document Imaging SDK\Sample Source Codes\C++\TIFF C++ Sample

Solution files:

Compilers:

Included from SDK version:

TIFF C++ Sample_VS2015.sln

Visual Studio 2015

12.57

TIFF C++ Sample_VS2017.sln

Visual Studio 2017

12.95

TIFF C++ Sample_VS2019.sln

Visual Studio 2019

12.95

TIFF C++ Sample_VS2022.sln

Visual Studio 2022 or later

12.95