The QTPlgImageMono8Bit class implements support for 8–bit greyscale images. The image data are represented with unsigned char integer values that can be set only to 0 or 255.
Since version 6.7 of the plugin this class has been deprecated and will be removed from a future plugin version; so, you should stop using it and, instead, you should only use the services provided by the class. The new plugin design, in fact, provides you with the QTPlgImage as a class cluster that generates different types of images and work on them hiding to you the implementation details.
→
The QTPlgImageMono8Bit class constructors are called when you create a new instance of the class, while the ˜QTPlgImageMono8Bit class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. See the validity requirements for more details. As, when creating an instance of this class by using the , the and class properties are both set to 0, the class property results to be false; this being the case, it is lecit to continue to use the class.
The class provides you with the following initializer methods: