Changeset 25728
- Timestamp:
- 10/08/2013 05:19:00 PM (11 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-gd.php
r24727 r25728 176 176 177 177 /** 178 * Processes current image and saves to disk 179 * multiple sizes from single source. 180 * 181 * 'width' and 'height' are required. 182 * 'crop' defaults to false when not provided. 183 * 184 * @since 3.5.0 185 * @access public 186 * 187 * @param array $sizes { {'width'=>int, 'height'=>int, ['crop'=>bool]}, ... } 188 * @return array 178 * Resize multiple images from a single source. 179 * 180 * @since 3.5.0 181 * @access public 182 * 183 * @param array $sizes { 184 * An array of image size arrays. Default sizes are 'small', 'medium', 'large'. 185 * 186 * @type array $size { 187 * @type int $width Image width. 188 * @type int $height Image height. 189 * @type bool $crop Optional. Whether to crop the image. Default false. 190 * } 191 * } 192 * @return array An array of resized images metadata by size. 189 193 */ 190 194 public function multi_resize( $sizes ) { -
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r25636 r25728 243 243 244 244 /** 245 * Processes current image and saves to disk 246 * multiple sizes from single source. 247 * 248 * 'width' and 'height' are required. 249 * 'crop' defaults to false when not provided. 250 * 251 * @since 3.5.0 252 * @access public 253 * 254 * @param array $sizes { {'width'=>int, 'height'=>int, ['crop'=>bool]}, ... } 255 * @return array 245 * Resize multiple images from a single source. 246 * 247 * @since 3.5.0 248 * @access public 249 * 250 * @param array $sizes { 251 * An array of image size arrays. Default sizes are 'small', 'medium', 'large'. 252 * 253 * @type array $size { 254 * @type int $width Image width. 255 * @type int $height Image height. 256 * @type bool $crop Optional. Whether to crop the image. Default false. 257 * } 258 * } 259 * @return array An array of resized images metadata by size. 256 260 */ 257 261 public function multi_resize( $sizes ) { -
trunk/src/wp-includes/class-wp-image-editor.php
r25714 r25728 95 95 96 96 /** 97 * Processes current image and saves to disk 98 * multiple sizes from single source. 99 * 100 * 'width' and 'height' are required. 101 * 'crop' defaults to false when not provided. 102 * 103 * @since 3.5.0 104 * @access public 105 * @abstract 106 * 107 * @param array $sizes { {'width'=>int, 'height'=>int, ['crop'=>bool]}, ... } 108 * @return array 97 * Resize multiple images from a single source. 98 * 99 * @since 3.5.0 100 * @access public 101 * @abstract 102 * 103 * @param array $sizes { 104 * An array of image size arrays. Default sizes are 'small', 'medium', 'large'. 105 * 106 * @type array $size { 107 * @type int $width Image width. 108 * @type int $height Image height. 109 * @type bool $crop Optional. Whether to crop the image. Default false. 110 * } 111 * } 112 * @return array An array of resized images metadata by size. 109 113 */ 110 114 abstract public function multi_resize( $sizes );
Note: See TracChangeset
for help on using the changeset viewer.