Category : Imaging Toolkit

By default when printing an image which contains annotations, the annotations themselves are not printed along with the image. In order to print the annotation objects, you must do the following: In the case of the BiAnno.dll. – You can draw the annotation object to the printer dc with AnnoUIOnPaint function. See the OnFilePrint function ..

Read more

1. You can verify if there are annotation objects in the image with the AnnoLoadFromTIFF method. If this method returns FALSE, the image doesn’t contain annotation objects. 2. Before burning (after loading image and annotations) you have to set some annotation properties. If you don’t do that, the annotation object will not burn into the ..

Read more

Question: Please suggest the right way to know scanner supports the ICAP_ORIENTATION capabilty or not. And how to set the scanner page orientation Answer: This is a sample code snippet for get/set the ICAP_ORIENTATION capability of the scanner. This code snippet is written in Visual Basic .NET 2005. Available values of the ICAP_ORIENTATION are: TWOR_ROT0 ..

Read more

If one would like to get the number of pages in the TIFF file, one can use the 2 functions below: 1. GetNumberOfImagesInTiffFile: This function has only one parameter the path and filename of the TIFF file. 2. NumberOfTiffImages: This function uses the opened TIFF file. (You can open the file with OpenTiffFile function). For ..

Read more

In order to retrieve the DPI of a TIFF image, One can use the GetTiffImageDPI function. One should use the GetTiffImageDPI function like this: LONG dwDPI; GetTiffImageDPI(hChain, nImage, &dwDPI); UINT wHorizontalDPI = LOWORD(dwDPI); UINT wVerticalDPI = HIWORD(dwDPI); The nImage parameter is the index of the page in the TIFF file. One can check the using ..

Read more

Issue: I´m trying to determine the number of pages inside a multipage-tiff which is stored inside a database. As far as I know, the only way to do this without creating a temporary file on disk is to call the method “NumberOfTiffImages” from the BiTiff.dll, via DllImport. I tried to make this work by modifying ..

Read more

The BiTiff.ocx should be registered on Windows 7 64-bit machines. Please check that the appropriate files are copied to your machine: BiTiff.ocx, BiTiff.dll, license dat file and license.dll. If the registration failed check the file dependencies using Dependency Walker. The Dependency Walker can be downloaded from (http://www.dependencywalker.com/). Check the dependencies of BiTiff.ocx and BiTiff.dll too. ..

Read more