Skip to content
Updating public headers within the documentation. authored by Kevin Meaney's avatar Kevin Meaney
[Home](home) | [Contents](Contents) [Contents](Contents)
```objective-c ```objective-c
// MIConstants.h // MIConstants.h
// //
// Copyright (c) 2015 Zukini Ltd. All rights reserved. // Copyright (c) 2015 Zukini Ltd.
@import Foundation; @import Foundation;
#pragma clang assume_nonnull begin
/// The image importer base object type. "imageimporter" /// The image importer base object type. "imageimporter"
extern NSString *const MIImageImporterKey; extern NSString *const MIImageImporterKey;
...@@ -22,14 +24,17 @@ extern NSString *const MICGBitmapContextKey; ...@@ -22,14 +24,17 @@ extern NSString *const MICGBitmapContextKey;
/// The pdf context base object type. "pdfcontext". /// The pdf context base object type. "pdfcontext".
extern NSString *const MICGPDFContextKey; extern NSString *const MICGPDFContextKey;
/// The movie importer base object type. "movieimporter" (unimplemented). /// The movie importer base object type. "movieimporter".
extern NSString *const MIMovieImporterKey; extern NSString *const MIMovieImporterKey;
/// The movie editor base object type. "movieeditor" (unimplemented). /// The movie frame iterator base object type. "movieframeiterator"
// extern NSString *const MIMovieFrameIteratorKey;
/// The movie editor base object type. "movieeditor".
extern NSString *const MIMovieEditorKey; extern NSString *const MIMovieEditorKey;
/// UIGraphicsContext wrapper base object. "uigraphicscontext" (unimplemented) /// The movie video frames writer base object type. "videoframeswriter"
extern NSString *const MIUIGraphicContext; extern NSString *const MIMovieVideoFramesWriterKey;
/// NSGraphicContext wrapper base object. "nsgraphicscontext" /// NSGraphicContext wrapper base object. "nsgraphicscontext"
extern NSString *const MINSGraphicContextKey; extern NSString *const MINSGraphicContextKey;
...@@ -80,10 +85,22 @@ extern NSString *const MIAlphaPreMulLastRGB32bpc128bppFloat; ...@@ -80,10 +85,22 @@ extern NSString *const MIAlphaPreMulLastRGB32bpc128bppFloat;
extern NSString *const MICMYK8bpc32bppInteger; extern NSString *const MICMYK8bpc32bppInteger;
/// CMYK. 16 bpc. 64 bpp. Integer. "CMYK16bpcInt" CMYK /// CMYK. 16 bpc. 64 bpp. Integer. "CMYK16bpcInt" CMYK
extern NSString *const MICMYK16bpc64bppInteger; // CMYK extern NSString *const MICMYK16bpc64bppInteger;
/// CMYK. 32 bpc. 128 bpp. Integer. "CMYK32bpcFloat" CMYK /// CMYK. 32 bpc. 128 bpp. Integer. "CMYK32bpcFloat" CMYK
extern NSString *const MICMYK32bpc128bppFloat; // CMYK. extern NSString *const MICMYK32bpc128bppFloat;
/// BGRA. Alpha. 8bpc, 32bpp. Integer. "AlphaPreMulBGRA8bpcInt" BGRA
extern NSString *const MIAlphaPreMulBGRA8bpc32bppInteger; //BGRA
/**
@brief The platform default bitmap context.
@discussion On iOS the preferred bitmap context is BGRA 8bpc whilst on OSX
the preferred bitmap context ARGB 8bpc. On OSX This maps to
MIAlphaPreMulFirstRGB8bpc32bppInteger whilst on iOS this maps to
MIAlphaPreMulBGRA8bpc32bppInteger.
*/
extern NSString *const MIPlatformDefaultBitmapContext;
/** /**
@brief An error message key. @brief An error message key.
...@@ -94,6 +111,8 @@ extern NSString *const MIErrorMessageKey; ...@@ -94,6 +111,8 @@ extern NSString *const MIErrorMessageKey;
NSArray *MICGBitmapGetPresetList(); NSArray *MICGBitmapGetPresetList();
#pragma clang assume_nonnull end
``` ```
[Home](home) | [Contents](Contents) [Home](home) | [Contents](Contents)
\ No newline at end of file