Uma área de pesquisa sobre o WordPress para devs e autores do tema

wp-admin/includes/image.php ›

File contains all the administration image manipulation functions.

Function Short description
file_is_displayable_imageValidate that file is suitable for displaying within a web page.
file_is_valid_imageValidate that file is an image.
load_image_to_editLoad an image resource for editing.
wp_create_image_subsizesCreates image sub-sizes, adds the new data to the image meta `sizes` array, and updates the image metadata.
wp_crop_imageCrop an Image to a given size.
wp_exif_date2tsConvert the exif date format to a unix timestamp.
wp_exif_frac2decConvert a fraction string to a decimal.
wp_generate_attachment_metadataGenerate attachment meta data and create image sub-sizes for images.
wp_get_missing_image_subsizesCompare the existing image sub-sizes (as saved in the attachment meta) to the currently registered image sub-sizes, and return the difference.
wp_read_image_metadataGet extended image metadata, exif or iptc as available.
wp_update_image_subsizesIf any of the currently registered image sub-sizes are missing, create them and update the image meta data.
_copy_image_fileCopy an existing image file.
_load_image_to_edit_pathRetrieve the path or url of an attachment's attached file.