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 View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-08-27 (9 months ago) RSS 2.0 feedNot enough user ratingsTotal: 32 All time: 11,024 This week: 78Up
Version License PHP version Categories
v 1The PHP License5PHP 5, Graphics


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: 41
All time rank: 35552 in Bahrain Bahrain
Week rank: 301 Up1 in Bahrain Bahrain Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
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.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:11,024
This week:78Up