WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

getid3_flac::parsePICTURE() public WP 1.0

Parse METADATA_BLOCK_PICTURE flac structure and extract attachment External usage: audio.ogg

Это метод класса: getid3_flac{}

Хуков нет.

Возвращает

true/false.

Использование

$getid3_flac = new getid3_flac();
$getid3_flac->parsePICTURE();

Код getid3_flac::parsePICTURE() WP 5.5.1

wp-includes/ID3/module.audio.flac.php
<?php
public function parsePICTURE() {
	$info = &$this->getid3->info;

	$picture['typeid']         = getid3_lib::BigEndian2Int($this->fread(4));
	$picture['picturetype']    = self::pictureTypeLookup($picture['typeid']);
	$picture['image_mime']     = $this->fread(getid3_lib::BigEndian2Int($this->fread(4)));
	$descr_length              = getid3_lib::BigEndian2Int($this->fread(4));
	if ($descr_length) {
		$picture['description'] = $this->fread($descr_length);
	}
	$picture['image_width']    = getid3_lib::BigEndian2Int($this->fread(4));
	$picture['image_height']   = getid3_lib::BigEndian2Int($this->fread(4));
	$picture['color_depth']    = getid3_lib::BigEndian2Int($this->fread(4));
	$picture['colors_indexed'] = getid3_lib::BigEndian2Int($this->fread(4));
	$picture['datalength']     = getid3_lib::BigEndian2Int($this->fread(4));

	if ($picture['image_mime'] == '-->') {
		$picture['data'] = $this->fread($picture['datalength']);
	} else {
		$picture['data'] = $this->saveAttachment(
			str_replace('/', '_', $picture['picturetype']).'_'.$this->ftell(),
			$this->ftell(),
			$picture['datalength'],
			$picture['image_mime']);
	}

	$info['flac']['PICTURE'][] = $picture;

	return true;
}