# Image are not centered

**URL:** <https://photoroom.discourse.group/t/image-are-not-centered/308>\
**Category:** API Troubleshooting\
**Tags:** background-removal, image-editing\
**Created:** [November 21, 2025, 9:26am UTC](https://photoroom.discourse.group/t/image-are-not-centered/308 "2025-11-21T09:26:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomkrej](https://sea2.discourse-cdn.com/flex002/user_avatar/photoroom.discourse.group/tomkrej/32/196_2.png) [@tomkrej](https://photoroom.discourse.group/u/tomkrej)\
**Post date:** [November 21, 2025, 9:26am UTC](https://photoroom.discourse.group/t/image-are-not-centered/308/1 "2025-11-21T09:26:44Z")

</div>

Over week I removed use PLUS asi on over 20k images. But lot of images are incorrectly centered in screen.

Examples of output.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/photoroom/original/1X/69c052a8d03e66362d74377d1bd744e95b9e9c62.jpeg)

I use this settings:  
‘background.color’ =\> ‘transparent’,  
‘background.scaling’ =\> ‘fill’,  
‘outputSize’ =\> ‘1920x1920’,  
‘paddingTop’ =\> ‘7%’,  
‘paddingBottom’ =\> ‘7%’,  
‘paddingLeft’ =\> ‘7%’,  
‘paddingRight’ =\> ‘7%’,

How can I fix it. It looks as problem on Photoroom side. Output images missing padding from sides and are not centered in screen.

---

<div class="post-metadata">

**Author:** ![tomkrej](https://sea2.discourse-cdn.com/flex002/user_avatar/photoroom.discourse.group/tomkrej/32/196_2.png) [@tomkrej](https://photoroom.discourse.group/u/tomkrej)\
**Post date:** [November 21, 2025, 9:27am UTC](https://photoroom.discourse.group/t/image-are-not-centered/308/2 "2025-11-21T09:27:16Z")

</div>

Input

 ![image](https://us1.discourse-cdn.com/flex002/uploads/photoroom/original/1X/7f744554018c3ce584fe0ae685e6f06f1f0147a4.jpeg)

---

<div class="post-metadata">

**Author:** ![Vincent](https://sea2.discourse-cdn.com/flex002/user_avatar/photoroom.discourse.group/vincent/32/67_2.png) [@Vincent](https://photoroom.discourse.group/u/Vincent)\
**Post date:** [December 9, 2025, 11:30am UTC](https://photoroom.discourse.group/t/image-are-not-centered/308/3 "2025-12-09T11:30:23Z")

</div>

Hi,

This is happening because by default the API doesn’t apply the padding for cropped edges.

And since in your input image the item is very close to some edges of the image, they then get counted as cropped edges.

You can disable this behavior by setting the parameter `ignorePaddingAndSnapOnCroppedSides=false`.

You can find more details about the positioning logic on this documentation page: [Positioning | Photoroom API Documentation](https://docs.photoroom.com/image-editing-api-plus-plan/positioning#cropped-subject)

Let me know if this managed to fix your issue.

Best,

Vincent
