Click or drag to resize
Open a Thermal Image

This sample will open and show a Thermal Image in a simple Windows Forms project using FLIR Atlas SDK.

Use the project settings from Setting up a Visual Studio project

Sample code

Add a PictureBox named pictureBox1 to Form1

Add the following to Form1.cs

C#
using Flir.Atlas.Image;

namespace MyNamespace
{
  public partial class Form1 : Form
  {
  private ThermalImageFile th;

  private void Form1_Load(object sender, EventArgs e)
  {
    th = new ThermalImageFile(@"[Path to Thermal image]");
    pictureBox1.Image = th.Image;
  }
}