remove dup
This commit is contained in:
parent
d1ce38aaca
commit
81256fe57b
65
gd/gd.php
65
gd/gd.php
|
@ -2929,71 +2929,6 @@ define('IMG_WEIGHTED4', 21);
|
|||
*/
|
||||
define('IMG_TRIANGLE', 20);
|
||||
|
||||
/**
|
||||
* Get the size of an image
|
||||
* @link https://php.net/manual/en/function.getimagesize.php
|
||||
* @param string $filename <p>
|
||||
* This parameter specifies the file you wish to retrieve information
|
||||
* about. It can reference a local file or (configuration permitting) a
|
||||
* remote file using one of the supported streams.
|
||||
* </p>
|
||||
* @param array $imageinfo [optional] <p>
|
||||
* This optional parameter allows you to extract some extended
|
||||
* information from the image file. Currently, this will return the
|
||||
* different JPG APP markers as an associative array.
|
||||
* Some programs use these APP markers to embed text information in
|
||||
* images. A very common one is to embed
|
||||
* IPTC information in the APP13 marker.
|
||||
* You can use the iptcparse function to parse the
|
||||
* binary APP13 marker into something readable.
|
||||
* </p>
|
||||
* @return array|false an array with 7 elements.
|
||||
* </p>
|
||||
* <p>
|
||||
* Index 0 and 1 contains respectively the width and the height of the image.
|
||||
* </p>
|
||||
* <p>
|
||||
* Some formats may contain no image or may contain multiple images. In these
|
||||
* cases, getimagesize might not be able to properly
|
||||
* determine the image size. getimagesize will return
|
||||
* zero for width and height in these cases.
|
||||
* </p>
|
||||
* <p>
|
||||
* Index 2 is one of the IMAGETYPE_XXX constants indicating
|
||||
* the type of the image.
|
||||
* </p>
|
||||
* <p>
|
||||
* Index 3 is a text string with the correct
|
||||
* height="yyy" width="xxx" string that can be used
|
||||
* directly in an IMG tag.
|
||||
* </p>
|
||||
* <p>
|
||||
* mime is the correspondant MIME type of the image.
|
||||
* This information can be used to deliver images with correct the HTTP
|
||||
* Content-type header:
|
||||
* getimagesize and MIME types
|
||||
* </p>
|
||||
* <p>
|
||||
* channels will be 3 for RGB pictures and 4 for CMYK
|
||||
* pictures.
|
||||
* </p>
|
||||
* <p>
|
||||
* bits is the number of bits for each color.
|
||||
* </p>
|
||||
* <p>
|
||||
* For some image types, the presence of channels and
|
||||
* bits values can be a bit
|
||||
* confusing. As an example, GIF always uses 3 channels
|
||||
* per pixel, but the number of bits per pixel cannot be calculated for an
|
||||
* animated GIF with a global color table.
|
||||
* </p>
|
||||
* <p>
|
||||
* On failure, false is returned.
|
||||
* @since 4.0
|
||||
* @since 5.0
|
||||
*/
|
||||
function getimagesize ($filename, array &$imageinfo = null) {}
|
||||
|
||||
/**
|
||||
* Return an image containing the affine tramsformed src image, using an optional clipping area
|
||||
* @link https://secure.php.net/manual/en/function.imageaffine.php
|
||||
|
|
Loading…
Reference in New Issue