MCUnderground.IES.NET
1.0.0
dotnet add package MCUnderground.IES.NET --version 1.0.0
NuGet\Install-Package MCUnderground.IES.NET -Version 1.0.0
<PackageReference Include="MCUnderground.IES.NET" Version="1.0.0" />
<PackageVersion Include="MCUnderground.IES.NET" Version="1.0.0" />
<PackageReference Include="MCUnderground.IES.NET" />
paket add MCUnderground.IES.NET --version 1.0.0
#r "nuget: MCUnderground.IES.NET, 1.0.0"
#:package MCUnderground.IES.NET@1.0.0
#addin nuget:?package=MCUnderground.IES.NET&version=1.0.0
#tool nuget:?package=MCUnderground.IES.NET&version=1.0.0
IES.NET
IES.NET parses IES LM-63 photometric files and renders the photometric data to a WPF bitmap.
Requirements
- .NET 9
- Windows
- A WPF application
The renderer returns a BitmapSource, so it is intended for use in WPF applications.
Install
Install the package from NuGet:
dotnet add package MCUnderground.IES.NET
Usage
Parse an IES file and assign the rendered bitmap to a WPF Image control:
<Image x:Name="PhotometricImage" Stretch="Uniform" />
using IES.NET.Options;
using IES.NET.Parsing;
using IES.NET.Rendering;
var parser = new IesParser();
var data = parser.Parse(@"C:\Photometry\fixture.ies");
var bitmap = IesBitmapRenderer.RenderToBitmapSource(
data,
new RenderOptions
{
Width = 512,
Height = 512
});
PhotometricImage.Source = bitmap;
RenderOptions can be used to adjust the image dimensions, viewing angle, exposure, gamma, rotation, blur, and bloom.
IesParser.Parse reads a file from disk and returns an IesData instance containing the vertical angles, horizontal angles, and candela values. It throws FileNotFoundException if the path does not exist and IesParsingException if the file cannot be parsed.
License
IES.NET is distributed under the MIT license. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0-windows7.0 is compatible. net10.0-windows was computed. |
-
net9.0-windows7.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 |
|---|---|---|
| 1.0.0 | 0 | 11/14/2026 |