# paddingRight seems to automatcally pad bottom as well

**URL:** <https://photoroom.discourse.group/t/paddingright-seems-to-automatcally-pad-bottom-as-well/75>\
**Category:** API Troubleshooting\
**Tags:** api-implementation, image-editing\
**Created:** [May 29, 2025, 1:14am UTC](https://photoroom.discourse.group/t/paddingright-seems-to-automatcally-pad-bottom-as-well/75 "2025-05-29T01:14:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashwin.kambli](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@ashwin.kambli](https://photoroom.discourse.group/u/ashwin.kambli)\
**Post date:** [May 29, 2025, 1:14am UTC](https://photoroom.discourse.group/t/paddingright-seems-to-automatcally-pad-bottom-as-well/75/1 "2025-05-29T01:14:40Z")

</div>

I just want to pad right on a product image so that I can overlay some text there. Here is the curl what I am doing:

> curl --request POST   
> –url [https://image-api.photoroom.com/v2/edit](https://image-api.photoroom.com/v2/edit)   
> –header ‘Accept: image/png, application/json’   
> –header ‘Content-Type: multipart/form-data’   
> –header ‘x-api-key: sandbox\_xxxx’   
> –form background.imageFile=@3de7b47c-a25e-411f-8159-b9deae2a9c92.png   
> –form imageFile=@yoga\_pants\_01.jpg  
> **–form paddingRight=0.3**

But, here is what PR rendered:

 ![yoga_pants_pad_right](https://us1.discourse-cdn.com/flex002/uploads/photoroom/original/1X/dbb95034a13e7a3771f84eb8f5e047bd3810ec71.jpeg)  
Why is the bottom padded as well?

---

<div class="post-metadata">

**Author:** ![Photoroom](https://sea2.discourse-cdn.com/flex002/user_avatar/photoroom.discourse.group/photoroom/32/6_2.png) [@Photoroom](https://photoroom.discourse.group/u/Photoroom)\
**Post date:** [May 30, 2025, 8:26am UTC](https://photoroom.discourse.group/t/paddingright-seems-to-automatcally-pad-bottom-as-well/75/2 "2025-05-30T08:26:12Z")

</div>

Hi @ashwin.kambli , could you share the original image so that I can reproduce?

Thanks in advance!
