Navigation: Scripting Reference Manual > Functions & Subroutines > RGBToBitmap

 

RGBToBitmap

 

Contact Us: fredsupport@photonengr.com

 

Description

Integrates three arrays of color components into a bitmap image file.

 

Syntax

RGBToBitmap fname, red, green, blue

 

Parameters

fname As String

The complete file path.

 

red() As Integer

The red components of each pixel in the bitmap.

 

green() As Integer

The green components of each pixel in the bitmap.

 

blue() As Integer

The blue components of each pixel in the bitmap.

 

Remarks

This subroutine integrates three arrays of color components into a bitmap image file. Calling this subroutine is the same as calling:  RGBToBitmap2 filename, red, green, blue, 0, 0

If there is a problem the subroutine sets an error and returns without modifying anything.

 

See Also

WavelengthToRGB

RGBToBitmap2

Examples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC