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
BedrockMission!

Learn More

View all

Sign in to view all badges

Image Crop from center - ACS Named Transform Image

Avatar

Avatar
Validate 1
Level 3
DhirajAg
Level 3

Likes

12 likes

Total Posts

65 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
DhirajAg
Level 3

Likes

12 likes

Total Posts

65 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
DhirajAg
Level 3

23-11-2019

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%