How can I create a bigger tiled image from a smaller image using the Lumia Imaging SDK on WP 8.1? I'm trying to use JpegTools.BlendAsync()(doc), but I'm not sure it's the best way to do it.
Also, how do I read an image as an IReadableBitmap?
How can I create a bigger tiled image from a smaller image using the Lumia Imaging SDK on WP 8.1? I'm trying to use JpegTools.BlendAsync()(doc), but I'm not sure it's the best way to do it.
Also, how do I read an image as an IReadableBitmap?
Copyright © 2021 Jogjafile Inc.
Try ReframingFilter to get bigger image and
JpegTools.BlendAsync()just as you suggested (BlendFilterwithBlendFunction.Normalwould do the same I suppose).StreamImageSource is what you are looking for. Get a stream, pass it to
StreamImageSourceconstructor and you can get anIReadableBitmapwith StreamImageSource.GetBitmapAsync(). Alternatively you can use StorageFileImageSource to achieve the same with a storage file.