Beispiel #1
0
 private static extern PixelData Internal_Compress(PixelData source, ref CompressionOptions options);
Beispiel #2
0
 /// <summary>
 /// Compresses the provided pixels using the specified compression options.
 /// </summary>
 /// <param name="source">Pixels to compress.</param>
 /// <param name="options">Options to control the compression. Make sure the format contained within is a
 ///                       compressed format.</param>
 /// <returns>New pixel data object containing the compressed pixels.</returns>
 public static PixelData Compress(PixelData source, CompressionOptions options)
 {
     return(Internal_Compress(source, ref options));
 }