←Select platform

ConvertToCGImage Method (LTBitmapHandleConverter_ObjectiveC)

Summary

Converts a BITMAPHANDLE to an CGImageRef.

Syntax
Objective-C
L_INT L_ConvertToCGImage(BITMAPHANDLE *bitmapHandle, CGImageRef *image, const L_ConvertToImageData *data) 

Parameters

bitmapHandle
Pointer to the BITMAPHANDLE to be converted

options
Instance of LTConvertToImageOptions to control the conversion operation.

outError
Pointer to an NSError

Return Value

A CGImageRef representing the converted image.

Remarks

iOS / macOS

Use the ConvertToCGImage> method to convert a BITMAPHANDLE to a CGImage. The conversion works by copying the image data over to the new destination. Currently, there is no support for sharing memory between a BITMAPHANDLE and a CGImage.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Converters Assembly