Skia

Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms.

It's able to generate PDF files with version 1.4. Header and tail for a PDF file is usually %PDF-1.4 and %EOF.

SkiaSharp dotnetcore

Library wrapper to use Skia in a dotnet core environment,

   1 dotnet add package SkiaSharp --version 1.57.1
   2 dotnet add package Avalonia.Skia.Linux.Natives --version 1.57.1.4
   3 
   4 # Install in docker container
   5 apt-get install -y libfontconfig1 
   6 
   7 # begin page SkDocument
   8 #end page SkDocument
   9 # end page SkDocument
  10 # close SkDocument
  11 # flush SkFileWStream
  12 # dispose SkFileWStream
  13 

Skia (last edited 2020-04-25 20:23:42 by localhost)