Image Difference Generator avatar

Image Difference Generator

Try for free

No credit card required

View all Actors
Image Difference Generator

Image Difference Generator

apify/image-diff
Try for free

No credit card required

Returns a difference of two given images as JPEG or PNG image.

Do you want to learn more about this Actor?

Get a demo

You can access the Image Difference Generator programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1echo '{
2  "imageUrl1": "https://raw.githubusercontent.com/mapbox/pixelmatch/master/test/fixtures/4a.png",
3  "imageUrl2": "https://raw.githubusercontent.com/mapbox/pixelmatch/master/test/fixtures/4b.png",
4  "pixelmatchOptions": {
5    "threshold": 0.1
6  },
7  "proxy": {
8    "useApifyProxy": true
9  }
10}' |
11apify call apify/image-diff --silent --output-dataset

Image Difference Generator API through CLI

The Apify CLI is the official tool that allows you to use Image Difference Generator locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Developer
Maintained by Apify

Actor Metrics

  • 5 monthly users

  • 4 stars

  • >99% runs succeeded

  • Created in Oct 2018

  • Modified 5 months ago

Categories