# Can svg Base64 encoded data works with ImageFill?

**URL:** <https://forums.creativeclouddeveloper.com/t/can-svg-base64-encoded-data-works-with-imagefill/3011>\
**Category:** UXP Plugin API\
**Tags:** javascript, api-feedback\
**Created:** [June 1, 2021, 2:31pm UTC](https://forums.creativeclouddeveloper.com/t/can-svg-base64-encoded-data-works-with-imagefill/3011 "2021-06-01T14:31:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naresh](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@Naresh](https://forums.creativeclouddeveloper.com/u/Naresh)\
**Post date:** [June 1, 2021, 2:31pm UTC](https://forums.creativeclouddeveloper.com/t/can-svg-base64-encoded-data-works-with-imagefill/3011/1 "2021-06-01T14:31:27Z")

</div>

I used SVG base64 encoded data to fill a Rectangle using ImageFill .I see a rectangle created but i cannot find the Image inside the rectangle on the artboard.

---

<div class="post-metadata">

**Author:** ![DavidXD](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/davidxd/32/909_2.png) [@DavidXD](https://forums.creativeclouddeveloper.com/u/DavidXD)\
**Post date:** [June 2, 2021, 12:41am UTC](https://forums.creativeclouddeveloper.com/t/can-svg-base64-encoded-data-works-with-imagefill/3011/2 "2021-06-02T00:41:13Z")

</div>

I looks like ImageFill only supports PNG, JPEG, or GIF data. I tried setting the ImageFill to Base64 encoded SVG data, but that only displayed an empty rectangle also for me. Sorry to mislead you in this area.

---

<div class="post-metadata">

**Author:** ![Naresh](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@Naresh](https://forums.creativeclouddeveloper.com/u/Naresh)\
**Post date:** [June 2, 2021, 7:32am UTC](https://forums.creativeclouddeveloper.com/t/can-svg-base64-encoded-data-works-with-imagefill/3011/3 "2021-06-02T07:32:22Z")

</div>

Then Is there any way to handle SVG. My ultimate Goal is to use SVG while designing from my plugin dialog . Help me by providing a solution
