PHP Classes

Imagedit Pro: Image manipulation operations and face detection

Recommend this page to a friend!
  Info   View files Example   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 1,288 This week: 1All time: 2,989 This week: 560Up
Version License PHP version Categories
imagedit 1.1GNU General Publi...5.0PHP 5, Graphics
Description 

Author

This class can perform image manipulation operations and face detection.

It can perform several types of image manipulation operations like rotating, applying grayscale effects, multiply the image with another, overlay two images, change the brightness or contrast, crop and resize the image, setting the transparent color, mask the image on alpha-channel with an image, flipping the image in both directions and apply the negation effect.

The class also uses a separate library by Karthik Tharavaad to detect the faces in images. It can extract the shape of the detected images and crop the original image according to the detected face shape.

Picture of Jakob Riedle
Name: Jakob Riedle <contact>
Classes: 1 package by
Country: Germany Germany
Age: 29
All time rank: 2025128 in Germany Germany
Week rank: 411 Up15 in Germany Germany Up

Recommendations

I need a PHP class for face matching
Solution to match faces from uploaded pictures

Example

<?php
   
include("class.imagedit.php");
    function
getImage($url)
    {
       
$image = new imagedit($url);
       
$angle = rand( -180 , 180 );
       
$image->rotate( $angle );
       
        return
$image->getPNG();
    }
?>
<body style="background: yellow;">
    <h1>Imagedit Demo 1: Rotation</h1>
    <img src="data:image/png;base64,<?=base64_encode(getImage("test.png"))?>"></img>
</body>


  Files folder image Files  
File Role Description
Accessible without login Plain text file DOCU.rtf Doc. Documentation
Accessible without login Plain text file TODO.txt Data Todo
Accessible without login Plain text file class.facedetect.php Class Face-Detection Class (By Karthik Tharavaad)
Accessible without login Plain text file class.imagedit.php Class Main Class
Accessible without login Plain text file demo1_rotation.php Example Demo 1: Rotation
Accessible without login Plain text file demo2_cropping.php Example Demo 2: Cropping
Accessible without login Plain text file demo3_resizing.php Example Demo 3: Resizing
Accessible without login Plain text file demo4_color.php Example Demo 4: Brightness, Contrast, Grayscale
Accessible without login Plain text file demo5_transparency.php Example Demo 5: setting Transparent Color
Accessible without login Image file test.png Data Test PNG-Image
Accessible without login Image file portrait.png Data Test PNG-Image
Accessible without login Image file mask.png Data Test PNG-Image

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,288
This week:1
All time:2,989
This week:560Up
User Ratings User Comments (1)
 All time
Utility:85%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:75%StarStarStarStar
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:688