-
Unicode in arguments and file paths: Ghostscript is invoked with native-encoded argv (UTF-16LE on Windows, UTF-8 elsewhere) via pointer-based
gsapi_init_with_argswhen available, andgsapi_run_fileuses the same encoding model where supported. Non-ASCII characters in paths and switches are preserved instead of being mangled by the legacy string-based API. New bindings:gsapi_init_with_args_ptr,gsapi_run_file_ptr;GhostscriptProcessor,GhostscriptInterpreter, and related helpers route through these when the loaded Ghostscript library reports support. -
Samples (Ghostscript.NET.Samples):
RunMultipleInstancesSamplenow waits for both thread-pool jobs, passes-fand the input file as separate argv entries, uses load-from-memory on Windows for parallel processors, and points at a shared test PDF underTestFiles.ViewerSamplewrites the first page toOutput/ViewerSample.png, synchronizes on raster completion, and usesConsole.ReadLine()before teardown so work is not cut off; default input is the repo’sPipedOutputSample.psinstead of a missing PDF. -
Sample inputs in
TestFiles: All PDFs and other inputs referenced by the samples (for exampleProcessorSample1.pdf,ProcessorSample2.pdf,RasterizerSample1.pdf,RasterizerSample2.pdf,GetInkCoverageSample.pdf,DeviceUsageSample.pdf,AddWatermarkSample.pdf,SendToPrinterSample.pdf, and the Unicode test PDFs) are collected underGhostscript.NET.Samples/TestFiles/, together with PostScript such asPipedOutputSample.ps, so every demo reads from one shared folder.
-
Upgraded SkiaSharp version (2.88.8 -> 3.119.1)
-
Included SkiaSharp.NativeAssets.Linux
-
Converted from System.Drawing.Bitmap to SkiaSharp.SKBitmap for cross-platform support
-
Replaced System.Drawing.Common package with SkiaSharp (2.88.8)
-
Updated memory operations to work on both Windows and Linux
-
Fixed color accuracy by correctly handling BGR format from Ghostscript
-
Updated platform-specific structures for Linux compatibility