Smart Crop

Intelligently crop to focus on interesting areas

transform 2 credits

Smart Crop

Intelligently crop to focus on interesting areas

Overview

The Smart Crop node automatically identifies and crops to the most visually interesting area of an image. It uses content-aware algorithms to find important features like faces, text, or high-contrast regions.

Usage Tips

  • Great for creating consistent thumbnails from varied source images
  • Specify target dimensions - the algorithm finds the best crop area
  • Works well for profile pictures and product photos
  • More intelligent than center-crop for varied content

Common Pairings

  • Import from URL - Smart crop user-uploaded images
  • Resize - Scale after cropping for exact dimensions
  • Merge - Add smart-cropped thumbnails to templates

Gotchas

  • Results depend on image content - not always predictable
  • Very uniform images may crop arbitrarily
  • Cannot specify which area to focus on - it’s automatic

Technical Reference

Inputs

NameTypeRequiredDescription
inputImageYesImage to crop

Outputs

NameTypeDescription
outputImageSmart-cropped image

Parameters

NameTypeDefaultDescription
params_sizesizemap[height:400 width:400]Target crop dimensions