Navigation: Scripting Reference Manual > Functions & Subroutines > RGBToBitmap2

 

RGBToBitmap2

 

Contact Us: fredsupport@photonengr.com

 

Description

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

 

Syntax

RGBToBitmap2 fname, red, green, blue, ppmX, ppmY

 

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.

 

ppmX As Long

Specifies the resolution in the X direction of the bitmap, measured in pixels per meter.

 

ppmY As Long

Specifies the resolution in the Y direction of the bitmap, measured in pixels per meter.

 

Remarks

This subroutine integrates three arrays of color components into a bitmap image file.  The value of each red, green, or blue component is between 0 and 255. If there is a problem the subroutine sets an error and returns without modifying anything.

 

See Also

WavelengthToRGB

RGBToBitmap

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC