PHP Classes

Passport MRZ Information PHP Image Crop: Crop images using coordinates defined by the user

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 35 All time: 10,995 This week: 54Up
Version License PHP version Categories
v 1The PHP License5PHP 5, Graphics
Description 

Author

This package can crop images using coordinates defined by the user.

It provides a Web page that presents a form to upload an image and uses a Javascript component called cropper.js to allow the user to define the coordinates of a rectangular area of the image that he wants to crop the image.

When the form is submitted, the area coordinates are passed to the PHP script that processes the image upload on the server side.

The PHP script crops the image using the coordinates passed to the server.

Picture of Ahmed Abdulla
  Performance   Level  
Name: Ahmed Abdulla <contact>
Classes: 11 packages by
Country: Bahrain Bahrain
Age: 42
All time rank: 35232 in Bahrain Bahrain
Week rank: 37 Up1 in Bahrain Bahrain Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file index.html Data Main Page
Accessible without login Plain text file process_cropped_image.php Aux. It calculates the cropping coordinates and dimensions based on the selected area. The extracted MRZ information is then displayed.

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:35
This week:0
All time:10,995
This week:54Up