wp_get_avif_info


wp_get_avif_info ( $filename )

Parameters:
  • (string) filename Path to an AVIF file.
Returns:
  • (array) { An array of AVIF image information. @type int|false $width Image width on success, false on failure. @type int|false $height Image height on success, false on failure. @type int|false $bit_depth Image bit depth on success, false on failure. @type int|false $num_channels Image number of channels on success, false on failure. }
Defined at:

Description

Extracts meta information about an AVIF file: width, height, bit depth, and number of channels.

Related Functions

wp_get_webp_info, wp_get_nav_menus, wp_text_diff, wp_get_links, wp_get_admin_notice

Top Google Results

User discussions

wpseek mobile