Image Upload Preflight
Pricing
$0.05 / actor start
Image Upload Preflight
Check PNG, JPEG and WebP headers in batches before decoding. Download dimensions, pixel-buffer estimates and per-image refusal reasons.
Image Upload Preflight
Pricing
$0.05 / actor start
Check PNG, JPEG and WebP headers in batches before decoding. Download dimensions, pixel-buffer estimates and per-image refusal reasons.
You can access the Image Upload Preflight programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
$echo '{< "payload": {< "files": [< {< "name": "square.png",< "base64": "iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXPacAAAA+UlEQVR4nO3RQQ0AIAzAwElCItKQhow9ekkFNLk592mxWT+IBwBAOwAA2gEA0A4AgHYAALQDAKAdAADtAABoBwBAOwAA2gEA0A4AgHYAALQDAKAdAADtAABoBwBAOwAA2gEA0A4AgHYAALQDAKAdAADtAABoBwBAOwAA2gEA0A4AgHYAALQDAKAdAADtAABoBwBAOwAA2gEA0A4AgHYAALQDAKAdAADtAABoBwBAOwAA2gEA0A4AgHYAALQDAKAdAADtAABoBwBAOwAA2gEA0A4AgHYAALQDAKAdAADtAABoBwBAOwAA2gEA0A4AgHYAALQDAKAdAADtPrXNBWW02N/RAAAAAElFTkSuQmCC"< },< {< "name": "unsupported.gif",< "base64": "R0lGODlhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="< }< ]< }<}' |<apify call autosecurelogin/image-upload-preflight --silent --output-datasetThe Apify CLI is the official tool that allows you to use Image Upload Preflight locally, providing convenience functions and automatic retries on errors.
Using installation script (macOS/Linux):
$curl -fsSL https://apify.com/install-cli.sh | bashUsing installation script (Windows):
$irm https://apify.com/install-cli.ps1 | iexUsing Homebrew:
$brew install apify-cliUsing npm:
$npm install -g apify-cliOther API clients include: