Creates a CompressedImage directly from a stream, keeping a PNG or JPEG source's encoded bytes as is instead of decoding and recompressing them.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public static CompressedImage CreateFromStream( Stream stream )
Type: System.IO.Stream
A Stream containing the source image.