Esempio n. 1
0
 ///<summary>
 /// Adds the image(s) from the specified stream to the collection.
 ///</summary>
 ///<param name="stream">The stream to read the images from.</param>
 ///<param name="readSettings">The settings to use when reading the image.</param>
 ///<exception cref="MagickException"/>
 public void AddRange(Stream stream, MagickReadSettings readSettings)
 {
     AddRange(StreamHelper.ToByteArray(stream), readSettings);
 }
Esempio n. 2
0
 ///<summary>
 /// Read only metadata and not the pixel data from all image frames.
 ///</summary>
 ///<param name="stream">The stream to read the image data from.</param>
 ///<exception cref="MagickException"/>
 public void Ping(Stream stream)
 {
     Ping(StreamHelper.ToByteArray(stream));
 }
Esempio n. 3
0
 ///<summary>
 /// Read all image frames.
 ///</summary>
 ///<param name="stream">The stream to read the image data from.</param>
 ///<param name="readSettings">The settings to use when reading the image.</param>
 ///<exception cref="MagickException"/>
 public void Read(Stream stream, MagickReadSettings readSettings)
 {
     Read(StreamHelper.ToByteArray(stream), readSettings);
 }