2017 © Pedro Peláez
 

library imageanalysis

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.

image

ganeshkandu/imageanalysis

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.

  • Tuesday, June 12, 2018
  • by GaneshKandu
  • Repository
  • 1 Watchers
  • 2 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 50 % Grown

The README.md

Error Level Analysis

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., (*1)

JPEG Quality

This should match the original quality of the image that has been edited., (*2)

Error Scale

Makes the differences between the original and the recompressed image bigger, (*3)

best works with jpeg image, (*4)

Requirement

PHP 5.3+ and GD extension installed, (*5)

Get Started

Installation

This library is designed to be installed via Composer., (*6)

Add the dependency into your projects composer.json., (*7)

{
  "require": {
    "ganeshkandu/imageanalysis": "*"
  }
}

Download the composer.phar ``` bash curl -sS https://getcomposer.org/installer | php, (*8)


Install the library. ``` bash php composer.phar install

or

To add in in your dependencies, (*9)

``` bash php composer.phar require ganeshkandu/imageanalysis, (*10)


# USAGE ```php <?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, (*11)

Main Developers

The Versions

12/06 2018

dev-master

9999999-dev

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.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0
  • ext-gd *

 

The Development Requires

by Ganesh Kandu

php composer packagist image analysis ela forensic

12/06 2018

1.0.1

1.0.1.0

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.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0
  • ext-gd *

 

The Development Requires

by Ganesh Kandu

php composer packagist image analysis ela forensic

06/05 2018

1.0.0

1.0.0.0

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.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0
  • ext-gd *

 

by Ganesh Kandu

php composer packagist image analysis ela forensic