Archive Browser
Download WestwoodPaletteLoader.zip, last updated 26/12/2017 (27.76 KB)
Download- md5: da29ba80301e3fa413c90a973afdaec9
- sha1: 362ce84dba11d8047dc3c1dc3e44ee2f0edee602
- sha256: 2e31cc54ea412623684856d331851c8b213bc6369629c620a2fc2d44aedae2bd
using System.IO;
// Loading the color palette from a BBM/LBM image file using C
// http://cyotek.com/blog/loading-the-color-palette-from-a-bbm-lbm-image-file-using-csharp
namespace Cyotek.Demonstrations.Rgb18BitPalette
{
internal class FileInfo
{
#region Constructors
public FileInfo(string fullPath)
{
this.FullPath = fullPath;
}
#endregion
#region Properties
public string FullPath { get; set; }
#endregion
#region Methods
/// <summary>
/// Returns a string that represents the current object.
/// </summary>
/// <returns>
/// A string that represents the current object.
/// </returns>
public override string ToString()
{
return Path.GetFileName(this.FullPath) ?? base.ToString();
}
#endregion
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate