CvSharp.PSD 1.0.0

dotnet add package CvSharp.PSD --version 1.0.0
                    
NuGet\Install-Package CvSharp.PSD -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CvSharp.PSD" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CvSharp.PSD" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CvSharp.PSD" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CvSharp.PSD --version 1.0.0
                    
#r "nuget: CvSharp.PSD, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CvSharp.PSD@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CvSharp.PSD&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CvSharp.PSD&version=1.0.0
                    
Install as a Cake Tool

CvSharp.PSD 1.0

Standalone 8/16-bit PSD reader/writer for .NET 8, built on CvSharp.

The library does not reference PixSharp.Core or WinForms. Pixels are CvSharp.Mat (BGRA, 8/16-bit); documents use the neutral PsdDocument model.

Supported in 1.0

  • 8/16-bit RGB/RGBA PSD, raw and RLE composite/layer channels;
  • pixel layers, groups, pixel masks, group masks;
  • editable text (TySh), layer effects (lfx2, nine mapped styles);
  • vector paths (vmsk) and solid vector strokes (vstk/vscg);
  • common adjustment layers: invert, levels, hue/saturation, curves, color balance, posterize, exposure, threshold, photo filter.

Not supported: smart objects, 32-bit/32F (Lr32), PSD pattern resources, and the complete Photoshop text layout model.

Usage

using CvSharp;
using CvSharp.PSD;

using var document = PsdReader.LoadLayers("input.psd");
using var composite = PsdFlatCodec.Read("input.psd");
PsdWriter.SaveLayers(document, composite, "output.psd");

// Stream APIs
using var input = File.OpenRead("input.psd");
using var psd = PsdReader.LoadLayers(input);

The caller owns every Mat in PsdDocument; dispose the document when done.

Scope and stability

1.0 freezes the current PixSharp-supported PSD surface. Unsupported features are skipped or reported rather than guessed. The API is intentionally small: PsdDocument, PsdNode types, PsdReader, PsdWriter, PsdFlatCodec.

License

MIT. See the repository LICENSE; the NuGet package ships the same license text.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 113 10/26/2026