# How can we load the the SVG into the photoshop layer via UXP

**URL:** <https://forums.creativeclouddeveloper.com/t/how-can-we-load-the-the-svg-into-the-photoshop-layer-via-uxp/5410>\
**Category:** UXP Plugin API\
**Tags:** react, javascript\
**Created:** [October 27, 2022, 1:03pm UTC](https://forums.creativeclouddeveloper.com/t/how-can-we-load-the-the-svg-into-the-photoshop-layer-via-uxp/5410 "2022-10-27T13:03:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jainprashul](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jainprashul](https://forums.creativeclouddeveloper.com/u/jainprashul)\
**Post date:** [October 27, 2022, 1:03pm UTC](https://forums.creativeclouddeveloper.com/t/how-can-we-load-the-the-svg-into-the-photoshop-layer-via-uxp/5410/1 "2022-10-27T13:03:59Z")

</div>

I would like to know how I can add the SVG image as rasterized image into photoshop as a layer or something else.

I can easily do it for the the PNG and JPEG image. But can’t able to figure it out for the SVG.

Meanwhile. Since, Canvas Element is not supported. , I am not able to convert that svg into png so i can paste it as a layer.

---

<div class="post-metadata">

**Author:** ![photo123](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@photo123](https://forums.creativeclouddeveloper.com/u/photo123)\
**Post date:** [November 1, 2022, 10:15am UTC](https://forums.creativeclouddeveloper.com/t/how-can-we-load-the-the-svg-into-the-photoshop-layer-via-uxp/5410/2 "2022-11-01T10:15:30Z")

</div>

How to import PNG into a layer, and how to export layer to PNG, thank you
