Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Image Crop from center - ACS Named Transform Image

DhirajAg
Level 4
Level 4

I am using ACS Commons Name Transform Image Servlet to resize and crop my images. I am trying to figure out what should be the parameters to crop the image from the center. What should be x,y if the size of the source image are not known and you want to apply a crop.

bounds=[x,y,width,height]

crop:bounds=25%,0,50%,100%

0 Replies