Download .zip |
Info | Documentation | View files (9) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2018-07-03 (2 months ago) | Not enough user ratings | Total: 122 This week: 39 | All time: 8,840 This week: 27 |
Version | License | PHP version | Categories | |||
imageanalysis 1.0.1 | Custom (specified... | 5 | Algorithms, PHP 5, Graphics |
This tool compares the original image to a recompressed version. This can make manipulated regions stand out in various ways. For example they can be darker or brighter than similar regions which have not been manipulated.
This should match the original quality of the image that has been edited.
Makes the differences between the original and the recompressed image bigger
> best works with jpeg image
PHP 5.3+ and GD extension installed
This library is designed to be installed via Composer.
Add the dependency into your projects composer.json.
{
"require": {
"ganeshkandu/imageanalysis": "*"
}
}
Download the composer.phar
curl -sS https://getcomposer.org/installer | php
Install the library.
php composer.phar install
> To add in in your dependencies
php composer.phar require ganeshkandu/imageanalysis
<?php
include "vendor/autoload.php";
use ImageAnalysis\ImageAnalysis;
/*
@desc This can make manipulated regions stand out in various ways.
For example they can be darker or brighter than similar regions
which have not been manipulated.
@author ganesh kandu <kanduganesh@gmail.com>
@param image location
@param Quality
@param Scale
@return image resource
*/
$out = ImageAnalysis::ELA('sample.jpg',80,10);
header('Content-Type: image/jpeg');
imagejpeg($out);
imagedestroy($out);
inspired from photo forensics
Files |
File | Role | Description | ||
---|---|---|---|---|
src (2 files) | ||||
tests (1 file, 1 directory) | ||||
.travis.yml | Data | travis | ||
composer.json | Data | Auxiliary data | ||
LICENSE.txt | Lic. | License text | ||
phpunit.xml.dist | Data | phpunit | ||
README.md | Doc. | Documentation |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.