JpegTools.BlendAsync Method (IBuffer, IReadableBitmap, Point)
Blends a JPEG image with another bitmap image into a new JPEG. The source JPEG image dimensions cannot be smaller than the dimensions of the bitmap image to blend.
Namespace: Lumia.Imaging
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255
Syntax
public static IAsyncOperation<IBuffer> BlendAsync(
IBuffer jpegSource,
IReadableBitmap bitmapSource,
Point blendPosition
)
'Declaration
Public Shared Function BlendAsync (
jpegSource As IBuffer,
bitmapSource As IReadableBitmap,
blendPosition As Point
) As IAsyncOperation(Of IBuffer)
public:
static IAsyncOperation<IBuffer^>^ BlendAsync(
[InAttribute] IBuffer^ jpegSource,
[InAttribute] IReadableBitmap^ bitmapSource,
[InAttribute] Point blendPosition
)
Lumia.Imaging.JpegTools.BlendAsync = function(jpegSource, bitmapSource, blendPosition);
Parameters
- jpegSource
Type: Windows.Storage.Streams.IBuffer
Source JPEG to be blended.
- bitmapSource
Type: Lumia.Imaging.IReadableBitmap
Bitmap image to be blended with JPEG image. Image must be in ARGB8888 or AYUV4444 color mode.
- blendPosition
Type: Windows.Foundation.Point
Blend start position in the JPEG image (upper left corner).
Return Value
Type: IAsyncOperation<IBuffer>
Asynchroniously returns buffer with blended JPEG
Remarks
This operation does not take EXIF orientation into account. The returned JPEG buffer doesn't contain EXIF data.
Version Information
Lumia Imaging SDK
Supported in: 2.0