PHP online Diagram program code _php Tutorial

Source: Internet
Author: User
Tags php online





<title>PHP Tutorial Online diagram program code <br/></title>




Picture cropping tool

Operating instructions About Us




  • Upload picture (u)

  • Rectangle cropping (R)

  • Circular cropping (o)

  • Fillet Rectangle Clipping (c)

  • Arc cropping (a)

  • Polygon Clipping

  • Straight EdgeCurved Edge

  • Arbitrary graphics cropping (m)

  • Cutting

  • Reset

  • Set up




















Operating Instructions

"Mouse Operation Instructions"

[1] The mouse drag crop box to move the location of the cropping area, this action is suitable for rectangular cropping, circular cropping, rounded rectangle clipping, arc clipping.

[2] The mouse pulls the crop box border to adjust the size of the cropping area, this action is suitable for rectangle cropping, circular cropping, rounded rectangle clipping, arc clipping.

"Keyboard Operating Instructions"

[3] Press the ←↑↓→ key to precisely move the position of the cropping area, this operation is suitable for rectangular cropping, circular cropping, rounded rectangle clipping, arc clipping.

[4] Press JKLM key to precisely adjust the size of the cropping area, this operation is suitable for rectangular cropping, circular cropping, rounded rectangle clipping, arc clipping.

[5] Press A to reduce the fillet angle of the rounded rectangle, press the D key to increase the fillet angle of the rounded rectangle, which is suitable for rounded rectangle clipping.

[6] Press AWSD to adjust the arc's radian, this action applies to arc cropping.

"Shift Operation description"

[7] Press the SHIFT key while dragging the mouse to adjust the size of the cropping area by a ratio of width to height 1:1, which is suitable for rectangular cropping, circular cropping, and rounded rectangle cropping.





About Us
"Purpose of this site"

This site is designed for the vast number of netizens to provide the most professional and comprehensive picture cutting services.

"Site description"

This site provides the following services: Picture cropping, photo cropping, rectangular cropping, round cropping, arc cropping, polygon clipping, arbitrary cropping, and motion picture clipping.

"Contact Us"

If you have any questions about this site, please contact us at: service@caijian.cc.










upload.php file
!--? php
if (Stripos ($_server["Http_host"], ' caijian.cc ') = = = False) exit (0);
if ((($_fi les["IFile" ["type"] = = "Image/gif")
| | ($_files["IFile" ["type"] = = "Image/jpeg")
| | ($_files["IFile" ["type"] = = "Image/pjpeg")
| | ($_files["IFile" ["type"] = = "Image/bmp")
| | ($_files["IFile" ["type"] = = "Image/png"))
&& ($_files["IFile" ["Size"] < 3000000))
{
if ($_files["IFile" ["Error"] > 0)
{
echo "";
}
Else
{
$filename = "upload/". Date ("Ymdhis", Time ()). Rand (100,999) substr ($_files["IFile" ["Name"], Strrpos ($_files["IFile" ["Name"], '. '));
Move_uploaded_file ($_files["IFile" ["Tmp_name"], $filename);

$magick _wand = Newmagickwand (),
Magickreadimage ($magick _wand, $filename);
$w = Magickgetimagewidth ($ Magick_wand);
$h = magickgetimageheight ($magick _wand);
$f = magickgetnumberimages ($magick _wand);

Echo "";
}
}
Else
{
echo "";
}
?

SOURCE Download Address
Http://down.php100.com/php/2011/0311/22879.html


http://www.bkjia.com/PHPjc/444793.html www.bkjia.com true http://www.bkjia.com/PHPjc/444793.html techarticle !doctype HTML Public-//w3c//dtd XHTML 1.0 transitional//en http://www.w3.org/tr/xhtml1/dtd/ XHTML1-TRANSITIONAL.DTD HTML xmlns=http://www.w3.org/1999/xhtml head meta Http-equiv=con ...

  • 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.