OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

imgInfo

Contents

Brief Information

Print out the given image's basic parameters in script window

Additional Information

Minimum Origin Version Required: 8.1 SR0

Command Line Usage

imgInfo;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Matrix img

Input

Image

<active>
Specify a image. Then the X-Function will output its basic information.
Width width

Output

int

<unassigned>
Specify the output of the width of the image.
Height height

Output

int

<unassigned>
Specify the output of the height of the image.
Bits bits

Output

int

<unassigned>
Specify the output of bits.
Colors colors

Output

int

<unassigned>
Output the color of the image.
Isgray isgray

Output

int

<unassigned>
Whether the image is gray image.
Order order

Output

int

<unassigned>
Color order of the bitmap. This field is meaningful if the image does not have a palette. It indicates whether the color values are in red-green-blue or blue-green-red order. Possible values are ORDER_RGB, ORDER_BGR and ORDER_GRAY
Min min

Output

int

<unassigned>
Get the minimum intensity values.
Max max

Output

int

<unassigned>
Get the maximum intensity values.

Description

This function is used to output the basic information of the image into the Script window.

Related X-Functions

imgFile