You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Boolean value to provide converting to HDR during decoding.
92
+
A Boolean value (NSNumber) to provide converting to HDR during decoding. Currently if number is 0, use SDR, else use HDR. But we may extend this option to use `NSUInteger` in the future (means, think this options as int number, but not actual boolean)
93
93
@note Supported by iOS 17 and above when using ImageIO coder (third-party coder can support lower firmware)
94
-
Defaults to NO, decoder will automatically convert SDR.
94
+
Defaults to @(NO), decoder will automatically convert SDR.
A Boolean value to provide converting to HDR during decoding.
341
+
A Boolean value (NSNumber) to provide converting to HDR during decoding. Currently if number is 0, use SDR, else use HDR. But we may extend this option to use `NSUInteger` in the future (means, think this options as int number, but not actual boolean)
342
342
@note Supported by iOS 17 and above when using ImageIO coder (third-party coder can support lower firmware)
343
-
Defaults to NO, decoder will automatically convert SDR.
343
+
Defaults to @(NO), decoder will automatically convert SDR.
@note The overhead of object creation means this method is best suited for infrequent color sampling. For heavy image processing, grab the raw bitmap data and process yourself.
124
124
125
125
@param point The position of pixel
126
+
@warning This API currently support 8 bits per component only (RGBA8888 etc), not RGBA16U/RGBA10
126
127
@return The color for specify pixel, or nil if any error occur
// And need test both GainMap HDR or ISO HDR, TODO
662
672
}
663
673
}
664
674
#endif
665
675
}
666
676
677
+
- (void)test33ThatGainMapHDRDecodeWorks {
678
+
// JPEG Gain Map HDR need iOS 18+
679
+
// GitHub Action virtualization framework contains issue for Gain Map HDR convert:
680
+
// [xctest] +[HDRImageConverter imageConverterWithOptions:]:40: ☀️ Failed to initialize Metal converter, falling back to SIMD for image conversion (slow)
0 commit comments