Пример #1
0
 public static SKImageInfo DecodeBounds(Stream stream)
 {
     if (stream == null)
     {
         throw new ArgumentNullException(nameof(stream));
     }
     return(DecodeBounds(SKStream.WrapManagedStream(stream)));
 }
Пример #2
0
 public static SKBitmap Decode(Stream stream, SKImageInfo bitmapInfo)
 {
     if (stream == null)
     {
         throw new ArgumentNullException(nameof(stream));
     }
     return(Decode(SKStream.WrapManagedStream(stream), bitmapInfo));
 }
Пример #3
0
        public static SKData Create(Stream stream, long length)
        {
            if (stream == null)
            {
                throw new ArgumentNullException(nameof(stream));
            }

            return(Create(SKStream.WrapManagedStream(stream), length));
        }