tgalib-core 0.1.1-alpha

This is a prerelease version of tgalib-core.
There is a newer version of this package available.
See the version list below for details.
dotnet add package tgalib-core --version 0.1.1-alpha                
NuGet\Install-Package tgalib-core -Version 0.1.1-alpha                
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="tgalib-core" Version="0.1.1-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add tgalib-core --version 0.1.1-alpha                
#r "nuget: tgalib-core, 0.1.1-alpha"                
#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 tgalib-core as a Cake Addin
#addin nuget:?package=tgalib-core&version=0.1.1-alpha&prerelease

// Install tgalib-core as a Cake Tool
#tool nuget:?package=tgalib-core&version=0.1.1-alpha&prerelease                

TgaLib core

  • Forked from shns/TgaLib:master in order to upgrade project file for .Net 8
  • Removed platform specific parts so this could work on non-Windows OS.
  • Added my old (2004 / Java) implementation for saving&loading of 24bit RGB TGA images.

TgaLib


TgaLib is a library to decode TARGA image format.

Following features are support:

  • RLE and raw TARGA images with 8/15/16/24/32 bits per pixel, monochrome, truecolor and colormapped images.
  • Image origins, attribute type in extensions area.

Example


using (var fs = new System.IO.FileStream("test.tga", FileMode.Open, FileAccess.Read, FileShare.Read))
using (var reader = new System.IO.BinaryReader(fs))
{
    var tga = new TgaLib.TgaImage(reader);
    System.Windows.Media.Imaging.BitmapSource source = tga.GetBitmap();
}
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • 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.3.0 130 10/18/2024
0.2.0-alpha 94 10/17/2024
0.1.1-alpha 89 10/17/2024