Actor picture

Image Difference Generator

apify/image-diff

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

Author's avatarApify Technologies
  • Modified
  • Users34
  • Runs2,849
Actor picture

Image Difference Generator

The first image URL

imageUrl1

Required

string

URL of the first image to be diffed.

The second image URL

imageUrl2

Required

string

URL of the second image to be diffed.

Output as JPEG

outputAsJpeg

Optional

boolean

Outputs resulting image in JPEG format. Default is PNG.

Pixelmatch options

pixelmatchOptions

Optional

object

Options for pixelmatch package that is used image comparison.

Proxy configuration

proxy

Required

object

Sets the proxy configuration