Skip to main content

Filter: classifai_smart_crop_max_pixel_dimension

Filters the maximum allowable width or height of an image to be cropped. Default 1024.

Parameters

NameTypeDescription
$maxintThe max width/height in pixels. Default 1024.

Since

  • 1.5.0

Source

Defined in includes/Classifai/Providers/Azure/SmartCropping.php at line 71

Returns

Filtered max dimension in pixels.

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.