CompressedImage.CreateFromFile Method

Creates a CompressedImage.

Overload List

Name Description
Public method Static member CreateFromFile(String)

Creates a CompressedImage directly from a file, keeping a PNG or JPEG source's encoded bytes as is instead of decoding and recompressing them.

Public method Static member CreateFromFile(String, CompressionType)

Creates a CompressedImage directly from a file.

See Also

Reference