[ Index ]

WordPress Cross Reference

title

Body

[close]

/wp-admin/includes/ -> image-edit.php (summary)

(no description)

File Size: 735 lines (27 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 11 functions

  wp_image_editor()
  wp_stream_image()
  wp_save_image_file()
  _image_get_preview_ratio()
  _rotate_image_resource()
  _flip_image_resource()
  _crop_image_resource()
  image_edit_apply_changes()
  stream_preview_image()
  wp_restore_image()
  wp_save_image()

Functions
Functions that are not part of a class:

wp_image_editor($post_id, $msg = false)   X-Ref
WordPress Image Editor


wp_stream_image( $image, $mime_type, $post_id )   X-Ref
Streams image in WP_Image_Editor to browser.
Provided for backcompat reasons

param: WP_Image_Editor $image
param: string $mime_type
param: int $post_id
return: boolean

wp_save_image_file( $filename, $image, $mime_type, $post_id )   X-Ref
Saves Image to File

param: string $filename
param: WP_Image_Editor $image
param: string $mime_type
param: int $post_id
return: boolean

_image_get_preview_ratio($w, $h)   X-Ref
No description

_rotate_image_resource($img, $angle)   X-Ref
No description

_flip_image_resource($img, $horz, $vert)   X-Ref

param: GD_Resource $img
param: boolean $horz
param: boolean $vert
return: GD_Resource

_crop_image_resource($img, $x, $y, $w, $h)   X-Ref

param: GD_Resource $img
param: float $x
param: float $y
param: float $w
param: float $h
return: GD_Resource

image_edit_apply_changes( $image, $changes )   X-Ref
Performs group of changes on Editor specified.

param: WP_Image_Editor $image
param: type $changes
return: WP_Image_Editor

stream_preview_image( $post_id )   X-Ref
Streams image in post to browser, along with enqueued changes
in $_REQUEST['history']

param: int $post_id
return: boolean

wp_restore_image($post_id)   X-Ref
No description

wp_save_image( $post_id )   X-Ref
Saves image to post along with enqueued changes
in $_REQUEST['history']

param: int $post_id
return: \stdClass



Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu