Free plan

Deep Inspect

Run extra checks on a picture and see its technical details
POST
/v1/images/inspect

About this tool

Runs a deeper check on your pictures and shows details such as colours, size and file type, and can compare pictures with each other. You can choose which checks to run. It only reads your files and does not change them. It is meant for people who want more detail than a simple look.
For example, you check what is wrong with a picture that looks blurry or colours that look odd.

How to use it

  1. Choose this tool.
  2. Add one or more pictures with Upload or drag and drop.
  3. Choose which checks to run, or leave it to use the standard ones.
  4. Press Generate.
  5. Read the results on screen.

What you get back

You get a report on screen about each picture. Nothing is changed in your files.
TEST IT LIVE

Try Deep Inspect in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Images
Plan
Free
Method
POST
Endpoint
/v1/images/inspect
Tool ID
images.inspect
Authentication
API key
Accepts
JPEG, PNG, WEBP, GIF, AVIF, TIFF +15 more
Background jobs
Yes
Usage group
Image
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/images/inspect" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'images=@photo.jpg' \
  -F 'checks=["colors"]' \
  -F 'options={}' \
  -F 'validate_only=false'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.images.inspect({
    "images": 'photo.jpg',
    "checks": [
      "colors"
    ],
    "options": {},
    "validate_only": false
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->images()->inspect([
    'images' => 'photo.jpg',
    'checks' => ['colors'],
    'options' => [

    ],
    'validate_only' => false,
]);
echo $result->requestId;
FAQ

Frequently asked questions

Run extra checks on a picture and see its technical details.

Deep Inspect accepts JPEG, PNG, WEBP, GIF, AVIF, TIFF, SVG, SVGZ, BMP, ICO, APNG, PNM and 9 more. You can send several files in one request.

Deep Inspect is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/images/inspect with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.