Rundiz\Image

Features
in package

Table of Contents

Properties

$chan_props  : mixed
$dim_props  : mixed
$has_alpha  : mixed
$has_primary_item  : mixed
$primary_item_features  : mixed
$primary_item_id  : mixed
$props  : mixed
$tiles  : mixed

Methods

get_primary_item_features()  : Status
Finds the width, height, bit depth and number of channels of the primary item.
get_item_features()  : Status
Binds the width, height, bit depth and number of channels from stored internal features.

Properties

$chan_props

public mixed $chan_props = array()

$dim_props

public mixed $dim_props = array()

$has_alpha

public mixed $has_alpha = false

$has_primary_item

public mixed $has_primary_item = false

$primary_item_features

public mixed $primary_item_features = array( // Deduced from the data below. 'width' => UNDEFINED, // In number of pixels. 'height' => UNDEFINED, // Ignores mirror and rotation. 'bit_depth' => UNDEFINED, // Likely 8, 10 or 12 bits per channel per pixel. 'num_channels' => UNDEFINED, )

$primary_item_id

public mixed $primary_item_id

Methods

get_primary_item_features()

Finds the width, height, bit depth and number of channels of the primary item.

public get_primary_item_features() : Status
Return values
Status

FOUND on success or NOT_FOUND on failure.

get_item_features()

Binds the width, height, bit depth and number of channels from stored internal features.

private get_item_features(int $target_item_id, int $tile_depth) : Status
Parameters
$target_item_id : int

Id of the item whose features will be bound.

$tile_depth : int

Maximum recursion to search within tile-parent relations.

Return values
Status

FOUND on success or NOT_FOUND on failure.


        
On this page

Search results