PHP » GoLang |
login |
register |
about
|
GoLang imagecreatefromgd2part
request it (330)
GoLang replacement for PHP's imagecreatefromgd2part
[edit | history]
imagecreatefromgd2part(PHP 4 >= 4.0.7, PHP 5, PHP 7) imagecreatefromgd2part — Create a new image from a given part of GD2 file or URL Description
resource imagecreatefromgd2part
( string
$filename
, int $srcX
, int $srcY
, int $width
, int $height
)Create a new image from a given part of GD2 file or URL. Tip
A URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details on how to specify the filename. See the Supported Protocols and Wrappers for links to information about what abilities the various wrappers have, notes on their usage, and information on any predefined variables they may provide. Parameters
Return ValuesReturns an image resource identifier on success, Examples
Example #1 imagecreatefromgd2part() example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|