Ideas for Arc XP

Expose focal point coordinates in Photo Center api

We would like access to focal point coordinates/data from the photo center api, to support focal point specific cropping (if a focal point applies). Currently our galleries are using the resizer’s “smart” crop criteria as a default.

  • Guest
  • Jul 26 2022
  • Already exists
  • Attach files
  • Admin
    Lawrence Tsai commented
    August 24, 2022 16:02

    Hi Rebecca, thank you for your idea request.

    This already exists. If a focal point is set for an image, we expose the focal point for an image and for the image in a gallery via the API.

    This is what the ANS schema looks like for focal point inside the Photo ANS:


    "focal_point" : {

    "x" : 100,

    "y" : 200

    }