Skip to content

Commit 0e982e3

Browse files
Merge pull request #1527 from syncfusion-content/984905-ug
984905-ug: Need to update the FAQ about installing required dependencies in Linux.
2 parents ef4ffeb + 3decb1f commit 0e982e3

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

Document-Processing/PDF/PDF-Library/NET/Working-with-Image-Extraction.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,54 @@ documentExtractor.Dispose()
185185
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/Image%20Extraction/Extract-images-from-PDF-documents).
186186

187187
N> To extract images from PDF page in .NET Core application, add the [Syncfusion.Pdf.Imaging.Net.Core](https://www.nuget.org/packages/Syncfusion.Pdf.Imaging.Net.Core) package to your project.
188+
189+
## Troubleshooting and FAQ's
190+
191+
### Missing SkiaSharp Native Assets on Ubuntu ARM64
192+
193+
<table>
194+
<th style="font-size:14px" width="100px">Issue
195+
</th>
196+
<th style="font-size:14px">Image extraction fails on Ubuntu 22.04.5 LTS servers running on ARM64 architecture due to missing SkiaSharp native dependencies.
197+
</th>
198+
199+
<tr>
200+
<th style="font-size:14px" width="100px">Reason
201+
</th>
202+
<td>SkiaSharp requires platform-specific native binaries for graphics operations:<br>
203+
204+
1.The default SkiaSharp package doesn't include ARM64 Linux binaries.<br>
205+
2.Ubuntu ARM64 environments lack these native assets by default.<br>
206+
3.SkiaSharp fails to initialize without these dependencies.<br>
207+
</td>
208+
</tr>
209+
210+
<tr>
211+
<th style="font-size:14px" width="100px">Solution
212+
</th>
213+
<td>Add the appropriate native assets package based on your environment:<br>
214+
215+
1.For Standard Linux Environments<br>
216+
(Ubuntu, Alpine, CentOS, Debian, Fedora, RHEL, Azure App Service, Google App Engine)
217+
<br><br/>
218+
{% highlight c# tabtitle="C#" %}
219+
220+
dotnet add package SkiaSharp.NativeAssets.Linux --version 3.116.1
221+
222+
{% endhighlight %}
223+
224+
2.For cloud native deployments<br>
225+
(AWS Lambda, AWS Elastic Beanstalk)
226+
<br><br/>
227+
{% highlight c# tabtitle="C#" %}
228+
229+
dotnet add package SkiaSharp.NativeAssets.Linux.NoDependencies --version 3.116.1
230+
231+
{% endhighlight %}
232+
233+
For Ubuntu 22.04.5 LTS on ARM64, use `SkiaSharp.NativeAssets.Linux`<br>
234+
Check your `.csproj` file for the following entry: `<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="3.116.1" />`
235+
236+
</td>
237+
</tr>
238+
</table>

0 commit comments

Comments
 (0)