/// <inheritdoc /> public Task <IBitmap> LoadFromResource(string source, float?desiredWidth, float?desiredHeight) { return(Task.Run(() => { var ret = new TizenBitmap(source); return (IBitmap)ret; })); }
/// <inheritdoc /> public Task <IBitmap> Load(Stream sourceStream, float?desiredWidth, float?desiredHeight) { return(Task.Run(() => { var ret = new TizenBitmap(((MemoryStream)sourceStream).ToArray()); return (IBitmap)ret; })); }