Сlass is used for getting bitmaps (png, jpg, svg) from byte array. More...
#include <com/navigine/idl/objc/NCBitmapRegionDecoder.h>
Inherits NSObject.
Instance Methods | |
(nullable UIImage *) | - decodeRegion:sampleSize: |
Method is used to decode rectangle region in the image specified by rect. | |
Class Methods | |
(nullable NCBitmapRegionDecoder *) | + newInstance: |
Method is used to create instance of BitmapRegionDecoder. | |
Сlass is used for getting bitmaps (png, jpg, svg) from byte array.
Definition at line 18 of file NCBitmapRegionDecoder.h.
- (nullable UIImage *) decodeRegion: | (nonnull NCRectangle *) | rect | |
sampleSize: | (int32_t) | sampleSize |
Method is used to decode rectangle region in the image specified by rect.
rect | area to render Rectangle |
sampleSize | if set to a value > 1, requests the decoder to subsample the original image, returning a smaller image to save memory. |
+ (nullable NCBitmapRegionDecoder *) newInstance: | (nonnull NSData *) | data |
Method is used to create instance of BitmapRegionDecoder.
data | raw image data (could be raw svg string) |