Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

TwainImageInfoMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Twain MBS Picture Plugin 12.2 Yes Yes No Yes No
Function: Describes the "real" image data, that is, the complete image being transferred between the Source and application.
The Source may transfer the data in a different format--the information may be transferred in "strips" or "tiles" in either compressed or uncompressed form. See the TW_IMAGEMEMXFER structure for more information.
The term "sample" is referred to a number of times in this structure. It holds the same meaning as in the TIFF specification. A sample is a contiguous body of image data that can be categorized by the channel or "ink color" it was captured to describe. In an R-G-B (Red-Green-Blue) image, such as on your TV or computer's CRT, each color channel is composed of a specific color. There are 3 samples in an R-G-B; Red, Green, and Blue. A C-Y-M-K image has 4 samples. A Grayscale or Black and White image has a single sample.
Note: The value -1 in ImageWidth and ImageLength are special cases. It is possible for a SourcetonotknoweitheritsWidthorLength. Applicationsneedtoconsiderthiswhen allocating memory or otherwise dealing with the size of the Image.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some events for this class:

Some examples which use this class:

The items on this page are in the following plugins: MBS Picture Plugin.

TwainIdentityMBS   -   TwainImageLayoutMBS

MBS Xojo Plugins