Imgix APIsVideo APIImgix VideoSpritesheetsVideo Spritesheet Smart Crop

Video Spritesheet Smart Crop

video-spritesheet-smart-crop

When set to true, Imgix uses AI-powered region-of-interest (ROI) detection to identify the most visually important area of each sampled frame before cropping it to the thumbnail dimensions. This keeps subjects — faces, objects, action — centered in the thumbnail rather than simply cropping from the edges.

Smart crop is most effective when both video-spritesheet-w and video-spritesheet-h are specified, giving the cropping algorithm a target aspect ratio to optimize for.

Accepted values: true | false Default: false

The examples below compare spritesheet thumbnails generated without and with smart crop enabled.

fm=spritesheet&video-spritesheet-w=160&video-spritesheet-h=90&video-spritesheet-smart-crop=false
sandbox-demo
fm=spritesheet&video-spritesheet-w=160&video-spritesheet-h=90&video-spritesheet-smart-crop=true
sandbox-demo