public static async Task <string> CreateFromB64Async(string sourceBase64, int channelId, string ext = ImageSuportedFormats.Jpg, int time = 0, int iconSize = IconSize)
        {
            if (ext != ImageSuportedFormats.Jpg || ext != ImageSuportedFormats.Png)
            {
                ext = ImageSuportedFormats.Jpg;
            }

            var url = CreateFileUrl(channelId, ext, time);
            var cf  = new UserImageLoader();
            await cf.CreateFromB64Async(sourceBase64, url, iconSize, UserImageHelper.GetFormat(ext));

            return(url);
        }
 private static async Task CreateFromB64Async(string sourceBase64, IImageUrls urls, ImageFormat toFormat)
 {
     var cf = new UserImageLoader();
     await cf.CreateFromB64Async(sourceBase64, urls, toFormat);
 }