GpRGB2image: Work with RGB data

Description Usage Arguments Value Author(s) See Also

Description

GpRGB2image converts an RGB file to another image file GpRGB1to3channels converts a vector or matrix of RGB 1-channel decimal values (24 bit) to 3-channel decimal values (3x8 bit) GpRGB2DAT converts an RGB file to a matrix data file GpRGBsample plots a square filled with an RGB color

Usage

1
2
3
4
GpRGB2image(RGBfile, imagefile, width, height, filetype='PNG', gpterminal=NULL)
GpRGB1to3channels(RGB1channel=NULL, fileRGB1channel=NULL, fileRGB3channel=NULL)
GpRGB2DAT(RGBfile, DATfile,width,height)
GpRGBsample(xRGB='#FFFFFF', optionalTitle='')

Arguments

RGBfile

raw RGB file name

imagefile

image file name

width

image width

height

image height

filetype

image type

gpterminal

terminal name

RGB1channel

vector or matrix of RGB 1-channel decimal values (24 bit)

fileRGB1channel

file with RGB 1-channel decimal values (24 bit)

fileRGB3channel

file with RGB 3-channel decimal values (3x8 bit)

DATfile

data file name

xRGB

RGB color in hexadecimal

optionalTitle

title for plot

Value

none

Author(s)

Jose' Gama

See Also

Gpimage2image


Rgnuplot documentation built on May 1, 2019, 9:17 p.m.