Exemplo n.º 1
0
 /// <summary>
 /// Determines whether LibHeif has an encoder for the specified <see cref="HeifCompressionFormat"/>.
 /// </summary>
 /// <param name="format">The compression format.</param>
 /// <returns>
 /// <see langword="true" /> if LibHeif an encoder for the specified <see cref="HeifCompressionFormat"/>;
 /// otherwise, <see langword="false" />.
 /// </returns>
 public static bool HaveEncoder(HeifCompressionFormat format)
 {
     lock (nativeCallLock)
     {
         return(LibHeifNative.heif_have_encoder_for_format(format));
     }
 }