Graphics function Library: imagecopyresized

Source: Internet
Author: User
Keywords imagecopyresized php Chinese function manual graphics function library
Tags aliyun copy function function library graphic graphics graphics function library html

Imagehttp://www.aliyun.com/zixun/aggregation/16458.html ">copyresized

(PHP3, PHP4)

imagecopyresized---Copy part of a graphic and resize it

Syntax: int imagecopyresized (int dst_im, int src_im, int dstx, int dsty, int srcx, int srcy, int dstw, int dsth, int srcw, int srcH)

Description:

Imagecopyresized () copies a rectangular portion of the graphic to another graphic. Dst_im is the destination of the graphic, Src_im is the source of the graphics, if the source and destination of the wide and high differences, then will perform a graphic extension or Shorten, this function can be copied in the same graphics (if Dst_im and Src_im are the same), but if the scope of replication overlap, The results will be unpredictable.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.