php-vips

FFI
in package

This class contains the libvips FFI methods.

Tags
category

Images

author

John Cupitt jcupitt@gmail.com

copyright

2016 John Cupitt

license

https://opensource.org/licenses/MIT MIT

link
https://github.com/jcupitt/php-vips

Table of Contents

$ftypes  : array<string|int, mixed>
$gtypes  : array<string|int, mixed>
$library_micro  : int
$library_minor  : int
atLeast()  : bool
Is this at least libvips major.minor[.patch]?
ctypes()  : CType
ftypes()  : string
glib()  : FFI
gobject()  : FFI
gtypes()  : int
newGClosure()  : CData
shutDown()  : void
Shut down libvips. Call this just before process exit.
version()  : string
Gets the libvips version number as a string of the form MAJOR.MINOR.MICRO, for example "8.6.1".
vips()  : FFI
init()  : void
libraryLoad()  : FFI
libraryName()  : string

Properties

$ftypes

private static array<string|int, mixed> $ftypes

$gtypes

private static array<string|int, mixed> $gtypes

$library_micro

private static int $library_micro

$library_minor

private static int $library_minor

Methods

atLeast()

Is this at least libvips major.minor[.patch]?

public static atLeast(int $x, int $y, int $z) : bool
Parameters
$x : int

Major component.

$y : int

Minor component.

$z : int

Patch component.

Return values
bool

true if at least libvips major.minor[.patch]; otherwise, false.

ctypes()

public static ctypes(string $name) : CType
Parameters
$name : string
Return values
CType

ftypes()

public static ftypes(string $name) : string
Parameters
$name : string
Return values
string

glib()

public static glib() : FFI
Return values
FFI

gobject()

public static gobject() : FFI
Return values
FFI

gtypes()

public static gtypes(string $name) : int
Parameters
$name : string
Return values
int

newGClosure()

public static newGClosure() : CData
Return values
CData

shutDown()

Shut down libvips. Call this just before process exit.

public static shutDown() : void
Return values
void

version()

Gets the libvips version number as a string of the form MAJOR.MINOR.MICRO, for example "8.6.1".

public static version() : string
Return values
string

vips()

public static vips() : FFI
Return values
FFI

init()

private static init() : void
Return values
void

libraryLoad()

private static libraryLoad(array<string|int, mixed> $libraryPaths, string $libraryName, string $interface) : FFI
Parameters
$libraryPaths : array<string|int, mixed>
$libraryName : string
$interface : string
Return values
FFI

libraryName()

private static libraryName(string $name, int $abi) : string
Parameters
$name : string
$abi : int
Return values
string

Search results