private async Task AsyncApplyEffect()
 {
    Stream smiley = await GetSmileyFileStream();
    AviaryTask tsk = new AviaryTask(smiley);
    tsk.Completed += tsk_Completed;
    tsk.Show();
 }
Example #2
0
        private async Task AsyncApplyEffect()
        {
            Stream smiley = await GetSmileyFileStream();

            AviaryTask tsk = new AviaryTask(smiley);

            tsk.Completed += tsk_Completed;
            tsk.Show();
        }
 private void PicThumbnail_Tap(object sender, System.Windows.Input.GestureEventArgs e)
 {
     var aviaryTask = new AviaryTask(_photoStr);
     aviaryTask.Completed += aviaryTask_Completed;
     aviaryTask.Show();
 }
Example #4
0
        private void photoCaptureOrSelectionCompleted(object sender, PhotoResult e)
        {
            Stream stream =e.ChosenPhoto;
            String originalFile = e.OriginalFileName;

            AviaryTask aviaryTask = new AviaryTask(stream, features, themeColor: "FF0000", originalFileName:e.OriginalFileName,maxInputMegaPixels:8,maxOutputResolution:960, maxStickers:5 );

            aviaryTask.Completed += new EventHandler<AviaryTaskResultArgs>(aviaryTask_Completed);
            aviaryTask.Show();
        }