WordPress at a glance
function is not described

wp_ajax_imgedit_preview() WP 3.1.0

Ajax handler for image editor previews.

No Hooks.

Return

Nothing (null).

Usage

wp_ajax_imgedit_preview();

Code of wp ajax imgedit preview: wp-admin/includes/ajax-actions.php VER 5.1.1

<?php
function wp_ajax_imgedit_preview() {
	$post_id = intval( $_GET['postid'] );
	if ( empty( $post_id ) || ! current_user_can( 'edit_post', $post_id ) ) {
		wp_die( -1 );
	}

	check_ajax_referer( "image_editor-$post_id" );

	include_once( ABSPATH . 'wp-admin/includes/image-edit.php' );
	if ( ! stream_preview_image( $post_id ) ) {
		wp_die( -1 );
	}

	wp_die();
}