PSDLayerNameParser 0.1.0
dotnet add package PSDLayerNameParser --version 0.1.0
NuGet\Install-Package PSDLayerNameParser -Version 0.1.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="PSDLayerNameParser" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PSDLayerNameParser --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PSDLayerNameParser, 0.1.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.
// Install PSDLayerNameParser as a Cake Addin #addin nuget:?package=PSDLayerNameParser&version=0.1.0 // Install PSDLayerNameParser as a Cake Tool #tool nuget:?package=PSDLayerNameParser&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PSDLayerName Parser
PSDLayerNameParser is a PSD layer and layer group parser. It corresponds to the unicode layer name.
How to get
How to use
// rootElement is a root node. It doesn't have Name.
var rootElement = Parser.Parse("./TestData.psd");
// Get a layers and layer groups tree as a json string.
rootElement.Serialize(); // return {"Children": [{"Children": [{"Children": [],"IsGroup": false,"Name": "Layer1-1"},{"Children": [],"IsGroup": false,"Name": "Layer1-2"}],"IsGroup": true,"Name": "Group1"},{"Children": [],"IsGroup": false,"Name": "日本語のレイヤー"}],"IsGroup": true,"Name": ""}
// Get children of root element or layer group element.
rootElement.GetChildren(); // return LayerElement[]
var firstChild = rootElement.GetChild(0);
// Get layer or layer group name.
firstChild.Name;
// Get a flag indicating whether it is a group layer or not.
firstChild.IsGroup;
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.1
- No dependencies.
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 |
---|---|---|
0.1.0 | 6,017 | 2/19/2019 |