Movatterモバイル変換


[0]ホーム

URL:


Enumeration

VipsBandFormat

Declaration

enum Vips.BandFormat

Description[src]

The format used for each band element.

Each corresponds to a native C type for the current machine. For example,VIPS_FORMAT_USHORT isunsigned short.

Members

VIPS_FORMAT_NOTSET

Invalid setting.

  • Value:-1
  • Available since: 8.0
VIPS_FORMAT_UCHAR

Unsigned char format.

  • Value:0
  • Available since: 8.0
VIPS_FORMAT_CHAR

Char format.

  • Value:1
  • Available since: 8.0
VIPS_FORMAT_USHORT

Unsigned short format.

  • Value:2
  • Available since: 8.0
VIPS_FORMAT_SHORT

Short format.

  • Value:3
  • Available since: 8.0
VIPS_FORMAT_UINT

Unsigned int format.

  • Value:4
  • Available since: 8.0
VIPS_FORMAT_INT

Int format.

  • Value:5
  • Available since: 8.0
VIPS_FORMAT_FLOAT

Float format.

  • Value:6
  • Available since: 8.0
VIPS_FORMAT_COMPLEX

Complex (two floats) format.

  • Value:7
  • Available since: 8.0
VIPS_FORMAT_DOUBLE

Double float format.

  • Value:8
  • Available since: 8.0
VIPS_FORMAT_DPCOMPLEX

Double complex (two double) format.

  • Value:9
  • Available since: 8.0
VIPS_FORMAT_LAST

No description available.

  • Value:10
  • Available since: 8.0

Type functions

vips_band_format_is8bit

ReturnTRUE ifformat is uchar or schar.

vips_band_format_iscomplex

ReturnTRUE iffmt is one of the complex types.

vips_band_format_isfloat

ReturnTRUE ifformat is one of the float types.

vips_band_format_isint

ReturnTRUE ifformat is one of the integer types.

vips_band_format_isuint

ReturnTRUE ifformat is one of the unsigned integer types.


[8]ページ先頭

©2009-2025 Movatter.jp