Creates a CompressedImage directly from a file, 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 CreateFromFile( string fileName )
Type: System.String
The path to the source image file.