43 lines
1011 B
C#
43 lines
1011 B
C#
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Photoshop PSD FileType Plugin for Paint.NET
|
||
|
// http://psdplugin.codeplex.com/
|
||
|
//
|
||
|
// This software is provided under the MIT License:
|
||
|
// Copyright (c) 2006-2007 Frank Blumenberg
|
||
|
// Copyright (c) 2010-2014 Tao Yue
|
||
|
//
|
||
|
// See LICENSE.txt for complete licensing and attribution information.
|
||
|
//
|
||
|
/////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
using System;
|
||
|
|
||
|
namespace PhotoshopFile
|
||
|
{
|
||
|
internal class LayerUnicodeName : LayerInfo
|
||
|
{
|
||
|
public override string Signature
|
||
|
{
|
||
|
get { return "8BIM"; }
|
||
|
}
|
||
|
|
||
|
public override string Key
|
||
|
{
|
||
|
get { return "luni"; }
|
||
|
}
|
||
|
|
||
|
public string Name { get; set; }
|
||
|
|
||
|
public LayerUnicodeName(string name)
|
||
|
{
|
||
|
Name = name;
|
||
|
}
|
||
|
|
||
|
public LayerUnicodeName(PsdBinaryReader reader)
|
||
|
{
|
||
|
Name = reader.ReadUnicodeString();
|
||
|
}
|
||
|
}
|
||
|
}
|