Пример #1
0
 public GifResult(string url)
 {
     this.ItemType    = Models.ItemType.GIF;
     this.ResultBytes = ImageToGif.ConvertImageToGif(url);
 }
Пример #2
0
 /// <summary>
 /// Converts the specified URL to a GIF
 /// </summary>
 /// <param name="url"></param>
 /// <returns></returns>
 public ByteResult GetGif(string url)
 {
     return(new ByteResult(ImageToGif.ConvertImageToGif(url), ItemType.GIF));
 }