Skip to content

Commit fcbe63e

Browse files
Merge pull request #90 from Suriya-Balamurugan/master
Update the latest SkiaSharp version for Linux conversion samples
2 parents 282e519 + 292f8da commit fcbe63e

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Convert-PowerPoint-Presentation-to-Image.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12+
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.6" />
13+
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="7.3.0" />
1214
<PackageReference Include="Syncfusion.PresentationRenderer.Net.Core" Version="*" />
1315
</ItemGroup>
1416
</Project>

PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/Linux/Convert-PowerPoint-Presentation-to-Image/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Program
1212
static void Main(string[] args)
1313
{
1414
//Open the file as Stream.
15-
using (FileStream fileStreamInput = new FileStream(Path.GetFullPath(@"../../../Data/Input.pptx"), FileMode.Open, FileAccess.Read))
15+
using (FileStream fileStreamInput = new FileStream(Path.GetFullPath(@"Data/Input.pptx"), FileMode.Open, FileAccess.Read))
1616
{
1717
//Open the existing PowerPoint presentation with loaded stream.
1818
using (IPresentation pptxDoc = Presentation.Open(fileStreamInput))

PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Convert-PowerPoint-Presentation-to-PDF.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="2.8.2.2" />
12+
<PackageReference Include="HarfBuzzSharp.NativeAssets.Linux" Version="7.3.0" />
1313
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.6" />
1414
<PackageReference Include="Syncfusion.PresentationRenderer.Net.Core" Version="*" />
1515
</ItemGroup>

PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/Linux/Convert-PowerPoint-Presentation-to-PDF/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Program
1313
static void Main(string[] args)
1414
{
1515
//Open the file as Stream
16-
using (FileStream fileStreamInput = new FileStream(Path.GetFullPath(@"../../../Data/Input.pptx"), FileMode.Open, FileAccess.Read))
16+
using (FileStream fileStreamInput = new FileStream(Path.GetFullPath(@"Data/Input.pptx"), FileMode.Open, FileAccess.Read))
1717
{
1818
//Open the existing PowerPoint presentation with loaded stream.
1919
using (IPresentation pptxDoc = Presentation.Open(fileStreamInput))

0 commit comments

Comments
 (0)