Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

Working with the Existing Bitmap Region

Show in webframe

You can save a region in the alpha channel of a 16- or 32-bit file. For an example, refer to L_SetBitmapAlpha.

You can use the L_BitmapHasRgn function to see if a bitmap has a region. If the bitmap has a region, you can do the following with it:

To create a new region, or update an existing region, based on either an HSV range or an RGB range, use L_SetBitmapRgnColorHSVRange or L_SetBitmapRgnColorRGBRange. To convert between HSV and RGB color space, use the L_HSVtoRGB and the L_RGBtoHSV functions.

To create a new curve region, or update an existing region with a curve region, use L_SetBitmapRgnCurve.

To resize a bitmap region a specific number of pixels, use the L_ResizeBitmapRgn function.

Use L_HolesRemovalBitmapRgn to remove holes from a bitmap region.

Regions are not supported on Windows CE.

Related Topics

Saving a Region

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.