Skip to content

Commit

Permalink
Add the DllImportResolver text the index.html
Browse files Browse the repository at this point in the history
Also changed the .NET Standard version number to 2.0.
  • Loading branch information
0xC0000054 committed Oct 22, 2023
1 parent f711dde commit 54d5793
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h2 id="project_tagline">Online documentation site for LibHeifSharp</h2>
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<p>LibHeifSharp provides .NET bindings for <a href="https://github.com/strukturag/libheif">libheif</a>.<br/>
It is built against <a href="https://docs.microsoft.com/en-us/dotnet/standard/net-standard">.NET Standard 1.3</a>, and should work on any supported .NET platform that has a libheif shared library.</p>
It is built against <a href="https://docs.microsoft.com/en-us/dotnet/standard/net-standard">.NET Standard 2.0</a>, and should work on any supported .NET platform that has a libheif shared library.</p>
<p>The latest release can be downloaded from <a href="https://www.nuget.org/packages/LibHeifSharp/">NuGet</a> or from the <a href="https://github.com/0xC0000054/libheif-sharp/releases">Releases</a> page on GitHub.</p>
<p>
<a href="API/index.html">LibHeifSharp API Documentation</a>
Expand All @@ -40,7 +40,10 @@ <h3 id="features">Features</h3>
<h3 id="sample-applications">Sample Applications</h3>
<p>The <a href="https://github.com/0xC0000054/libheif-sharp-samples">libheif-sharp-samples</a> repository contains decoder and encoder samples that demonstrate the use of the library.</p>
<h3 id="requirements">Requirements</h3>
<p>The libheif shared library must be named <code>libheif</code> in order for it to be found by P/Invoke.</p>
<p>The libheif shared library must be named <code>libheif</code> in order for it to be found by P/Invoke.<br/>
On some platforms a <a href="https://learn.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.nativelibrary.setdllimportresolver">DllImportResolver </a>can be used to customize the loading of the <code>libheif</code> native library.<br/>
See <a href="https://github.com/0xC0000054/libheif-sharp-samples/blob/main/src/common/LibHeifSharpDllImportResolver.cs">LibHeifSharpDllImportResolver.cs</a> in the libheif-sharp-samples repository for an example of this.
</p>
<p>The minimum supported libheif version is 1.9.0.</p>
</section>
</div>
Expand Down

0 comments on commit 54d5793

Please sign in to comment.