{"id":17687653,"url":"https://github.com/ganeshkandu/imageanalysis","last_synced_at":"2025-05-13T00:41:17.147Z","repository":{"id":56982863,"uuid":"132317688","full_name":"GaneshKandu/imageanalysis","owner":"GaneshKandu","description":"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.","archived":false,"fork":false,"pushed_at":"2018-06-12T12:08:36.000Z","size":49,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T05:11:29.995Z","etag":null,"topics":["analysis","composer","ela","error-level-analysis","forensic","image-analysis","images","manipulated-regions-stand","packagist","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GaneshKandu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-06T07:49:40.000Z","updated_at":"2022-07-20T09:43:51.000Z","dependencies_parsed_at":"2022-08-21T12:20:16.772Z","dependency_job_id":null,"html_url":"https://github.com/GaneshKandu/imageanalysis","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaneshKandu%2Fimageanalysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaneshKandu%2Fimageanalysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaneshKandu%2Fimageanalysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GaneshKandu%2Fimageanalysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GaneshKandu","download_url":"https://codeload.github.com/GaneshKandu/imageanalysis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850841,"owners_count":21973667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","composer","ela","error-level-analysis","forensic","image-analysis","images","manipulated-regions-stand","packagist","php"],"created_at":"2024-10-24T11:06:56.116Z","updated_at":"2025-05-13T00:41:17.136Z","avatar_url":"https://github.com/GaneshKandu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Error Level Analysis\n\nThis 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.\n\n## JPEG Quality\n\nThis should match the original quality of the image that has been edited.\n## Error Scale\n\nMakes the differences between the original and the recompressed image bigger\n\n\u003e best works with jpeg image\n\n## Requirement\n\nPHP 5.3+ and GD extension installed\n\n## Get Started\n\n### Installation\n\nThis library is designed to be installed via [Composer](https://getcomposer.org/doc/).\n\nAdd the dependency into your projects composer.json.\n```\n{\n  \"require\": {\n    \"ganeshkandu/imageanalysis\": \"*\"\n  }\n}\n```\n\nDownload the composer.phar\n``` bash\ncurl -sS https://getcomposer.org/installer | php\n```\n\nInstall the library.\n``` bash\nphp composer.phar install\n```\n\n#### or\n\n\u003e To add in in your dependencies\n\n``` bash\nphp composer.phar require ganeshkandu/imageanalysis\n```\n\n# USAGE\n\n```php\n\n\u003c?php\n\ninclude \"vendor/autoload.php\";\n\nuse ImageAnalysis\\ImageAnalysis;\n\n/*\n\t@desc This can make manipulated regions stand out in various ways.\n\t\tFor example they can be darker or brighter than similar regions\n\t\twhich have not been manipulated.\n\t@author ganesh kandu \u003ckanduganesh@gmail.com\u003e\n\t@param image location\n\t@param Quality\n\t@param Scale\n\t@return image resource\n*/\n\n$out = ImageAnalysis::ELA('sample.jpg',80,10);\n\nheader('Content-Type: image/jpeg');\n\nimagejpeg($out);\n\nimagedestroy($out);\n\n```\n\ninspired from [photo forensics](https://29a.ch/2015/08/16/forensically-photo-forensics-for-the-web)\n\n\n# Main Developers\n\n* **Ganesh Kandu** [Ganesh Kandu](https://github.com/GaneshKandu)\n* **Contact** [kanduganesh@gmail.com](mailto:kanduganesh@gmail.com) :envelope:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganeshkandu%2Fimageanalysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fganeshkandu%2Fimageanalysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fganeshkandu%2Fimageanalysis/lists"}