PicturizeSingle method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int __fastcall PicturizeSingle(LEADTyp::TBitmapHandle Bitmap, int iCellWidth, int iCellHeight, int iLightnessFact);

Delphi Syntax

Function PicturizeSingle(Bitmap: TBitmapHandle; iCellWidth: Integer; iCellHeight: Integer; iLightnessFact: Integer): Integer;

Overview

Refer to Combining Images.

 

Remarks

Picturizes the bitmap using the specified thumbnail image.

The image, or selected region, is broken down into rectangles of size iCellWidth x iCellHeight. For each rectangle, the thumbnail image is corrected to approximate that rectangle, and inserted in the original image. Note that every rectangle is replaced by the same image.

The iLightnessFact parameter can be used to change the lightness of the big image by changing the lightness of each rectangle.

This method supports 12 and 16-bit grayscale images and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.

This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.

See Also

Elements:

Picturize method, PicturizeBitmapList method

Topics:

Raster Images: Combining Images

 

Examining and Altering Bitmaps