X-Ray.Psd.Skia
26.10.7019
dotnet add package X-Ray.Psd.Skia --version 26.10.7019
NuGet\Install-Package X-Ray.Psd.Skia -Version 26.10.7019
<PackageReference Include="X-Ray.Psd.Skia" Version="26.10.7019" />
<PackageVersion Include="X-Ray.Psd.Skia" Version="26.10.7019" />
<PackageReference Include="X-Ray.Psd.Skia" />
paket add X-Ray.Psd.Skia --version 26.10.7019
#r "nuget: X-Ray.Psd.Skia, 26.10.7019"
#:package X-Ray.Psd.Skia@26.10.7019
#addin nuget:?package=X-Ray.Psd.Skia&version=26.10.7019
#tool nuget:?package=X-Ray.Psd.Skia&version=26.10.7019
X-Ray.Psd.Skia
SkiaSharp interop for X-Ray.Psd, the dependency-free PSD/PSB reader and renderer for .NET.
RgbaImage.ToSKBitmap(),ToSKImage()andSKBitmap.ToRgbaImage()convert between XRay.Psd output and Skia (straight alpha is preserved).RgbaImage.Encode(SKEncodedImageFormat, quality)andPsdDocument.RenderAndEncode(...)encode with Skia's codecs, such as WebP.PsdThumbnail.Decode()decodes the thumbnail Photoshop stores in the file (document.Resources.Thumbnail).
using SkiaSharp;
using XRay.Psd;
using XRay.Psd.Skia;
var document = PsdDocument.Load("poster.psd");
File.WriteAllBytes("poster.webp", document.RenderAndEncode(SKEncodedImageFormat.Webp, quality: 90));
using var bitmap = document.RenderToSKBitmap();
var thumbnail = document.Resources.Thumbnail?.Decode();
Applications add the SkiaSharp native asset package for their platform (for example SkiaSharp.NativeAssets.Linux.NoDependencies).
Part of the X-Ray family of .NET libraries by Curiosity GmbH. Source: curiosity-ai/x-ray-others.
License: MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
NuGet packages (1)
Showing the top 1 NuGet packages that depend on X-Ray.Psd.Skia:
| Package | Downloads |
|---|---|
|
X-Ray
The umbrella package for the X-Ray family of .NET libraries. Carries no code of its own: installing it brings in every X-Ray package, for content extraction (X-Ray.Content), rendering office documents to PDF and images (X-Ray.Office), and reading Photoshop (X-Ray.Psd), email (X-Ray.Email), iCalendar (X-Ray.Ics), PostScript and XPS (X-Ray.PS) and OneNote (X-Ray.OneNote) files. Install a single member directly if you only need one. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.10.7019 | 0 | 10/19/2026 |
| 26.10.6966 | 6 | 10/19/2026 |