예제 #1
0
 internal static extern ImageUtilError SetPngCompression(ImageEncoderHandle handle, PngCompression compression);
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PngEncoder"/> class with <see cref="PngCompression"/>.
 /// </summary>
 /// <remarks><see cref="ImageEncoder.OutputFormat"/> will be the <see cref="ImageFormat.Png"/>.</remarks>
 /// <param name="compression">The compression level of the encoder.</param>
 /// <exception cref="ArgumentException"><paramref name="compression"/> is invalid.</exception>
 /// <since_tizen> 4 </since_tizen>
 public PngEncoder(PngCompression compression) :
     base(ImageFormat.Png)
 {
     Compression = compression;
 }