HTC launched an SDK for its Dual Lens camera. Still in the preview mode, the SDK contains two APIs: DualLense and DimensionPlus. The former supports obtaining and managing so called “bokeh” strength map mask for requested strength values; while the latter adds support for the DimensionPlus file format, and includes a DimensionPlusView class for rendering DimensionPlus photos and a DimensionPlusUtility class for exporting images in the DimensionPlus format. Each API is demonstrated with a corresponding sample code project, and the DimensionPlusDemo project does not require a HTC One M8.
Using these tools, developers will be able to build new effects for the camera and use the dual-camera set-up in their apps. We can’t wait to see what kind of cool things they [developers] can come-up with. 😉