<div id="dwpdlx_short_desc">Rescales, crops and pads pose keypoint coordinates.</div>
**Function:** Loss-less rescale, crop, move and add padding to pose keypoint coordinates.
### Inputs
- **pose_keypoints:** The keypoint data to resize.
### Parameters
- **width:** Initial width re-scale for the pose content.
- **height:** Initial height re-scale for the pose content.
- **resize_method:** (stretch,crop/pad) Type of canvas transform.
- **left, right, top, bottom:** Specific padding for each side.
- **extra_padding:** Uniform padding added to all sides.
- **x_offset:** Moves all keypoints left or right.
- **y_offset:** Moves all keypoints up or down.
- **divisible_by:** Rounds target W and H up to nearest multiple of value.
### Outputs
- **pose_keypoints:** The rescaled and padded keypoint data.
### Notes
- Use '0' in either W or H to keep original canvas aspect ratio.
- Negative padding values work as cropping.
By hobinrude·Created 9 months ago·Updated 8 months ago· 10