When using the LEADTOOLS Objective C Class Library, the LEADTOOLS Image Data Type is LTRasterImage.
In order to convert to and from the framework CGImage, UIImage (iOS) or NSImage (macOS) objects, use the following functions:
Framework - Class |
Comments |
Help Files |
Demo Project Source Code |
Leadtools.Converters.framework - LTRasterImageConverter | Provides functions for converting LTRasterImage to and from CGImage, UIImage (iOS) and NSImage (macOS) | LTRasterImageConverter Help | /Examples/Xcode/[iOS/macOS]/ViewerDemo |
When using the LEADTOOLS C API Library, the LEADTOOLS Image Data Type is BITMAPHANDLE.
In order to convert to and from the framework CGImage object, use the following functions:
Assembly - Header File |
Comments |
Help Files |
Demo Project Source Code |
Leadtools.Converters.dll - LTBitmapHandleConverter.h | Provides functions for converting BITMAPHANDLE to and from CGImage. | LTBitmapHandleConverter Help |
Supported Platforms
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET