| PaletteManagerOpen Method |
Open a palette file from disk. Palette files have .pal as file extension.
Namespace: Flir.Atlas.Image.PalettesAssembly: Flir.Atlas.Image (in Flir.Atlas.Image.dll) Version: 3.1
Syntax public static Palette Open(
string fileName
)
Parameters
- fileName
- Type: SystemString
Full path to a valid palette file.
Return Value
Type:
PalettePalette containing colors from the palette file.
Exceptions Examples OpenFileDialog dlg = new OpenFileDialog();
dlg.ShowDialog();
ThermalImageFile image = new ThermalImageFile(@"path to image");
Palette pal = PaletteManager.Open(dlg.FileName);
image.Palette = pal;
See Also