# \#image

**URL:** https://forum.babylonjs.com/tag/image/487.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Access image data when texture is loaded](https://forum.babylonjs.com/t/access-image-data-when-texture-is-loaded/54891)

<div class="topic-metadata">

**Author:** [@Jonathan\_Lafite](https://forum.babylonjs.com/u/Jonathan_Lafite)\
**Replies:** 9\
**Last updated:** [November 20, 2024, 4:26pm UTC](https://forum.babylonjs.com/t/access-image-data-when-texture-is-loaded/54891 "2024-11-20T16:26:22Z")

</div>

Hi everyone, I am strugulling to access the image data once the texture is loaded. I have explored the call stack for a long time and found the img variable I need to access in the fileTool.ts but I can’t find a way to …

---

## [How to convert base64 image data into Texture in the babylonjs engine,](https://forum.babylonjs.com/t/how-to-convert-base64-image-data-into-texture-in-the-babylonjs-engine/53439)

<div class="topic-metadata">

**Author:** [@zertaul](https://forum.babylonjs.com/u/zertaul)\
**Replies:** 2\
**Last updated:** [September 17, 2024, 5:38am UTC](https://forum.babylonjs.com/t/how-to-convert-base64-image-data-into-texture-in-the-babylonjs-engine/53439 "2024-09-17T05:38:01Z")

</div>

When I was loading textures for babylonjs, my colleague gave me textures that were not in the usual network address, but in the already parsed PNG or JPG base64 data format. If I reference the default material, there is …

---

## [Jpg vs png textures](https://forum.babylonjs.com/t/jpg-vs-png-textures/53239)

<div class="topic-metadata">

**Author:** [@DavidP](https://forum.babylonjs.com/u/DavidP)\
**Replies:** 11\
**Last updated:** [September 6, 2024, 10:01am UTC](https://forum.babylonjs.com/t/jpg-vs-png-textures/53239 "2024-09-06T10:01:35Z")

</div>

Hi All, Generally, PNG files are larger in size compared to JPG files. As a result, JPG files can be downloaded faster. Apart from the file size and download speed benefits, are there memory usage advantages when creati…

---

## [Picture Taper Effect](https://forum.babylonjs.com/t/picture-taper-effect/52992)

<div class="topic-metadata">

**Author:** [@vipul45](https://forum.babylonjs.com/u/vipul45)\
**Replies:** 4\
**Last updated:** [August 29, 2024, 3:23am UTC](https://forum.babylonjs.com/t/picture-taper-effect/52992 "2024-08-29T03:23:00Z")

</div>

I am making a sphere dome through 360image const imageUrl = “/textures/church360.jpg”; // replace with your 360 image URL let dome = new PhotoDome( “sphere”, imageUrl, { resolution: 32, // Increase resolution size…

---

## [How to size image to fill its container while maintaining aspect ratio (using svg as source)?](https://forum.babylonjs.com/t/how-to-size-image-to-fill-its-container-while-maintaining-aspect-ratio-using-svg-as-source/51208)

<div class="topic-metadata">

**Author:** [@kintz\_09](https://forum.babylonjs.com/u/kintz_09)\
**Replies:** 8\
**Last updated:** [June 27, 2024, 12:03am UTC](https://forum.babylonjs.com/t/how-to-size-image-to-fill-its-container-while-maintaining-aspect-ratio-using-svg-as-source/51208 "2024-06-27T00:03:02Z")

</div>

I’m struggling a bit to manage the size and fill of a GUI Image control. Can anyone offer some insight? Also, please note that we are still on an older version of Babylon. Babylon version: 5.57.1 Playground example I …

---

## [Image GUI control using SVG with opaque background renders as transparent background](https://forum.babylonjs.com/t/image-gui-control-using-svg-with-opaque-background-renders-as-transparent-background/51200)

<div class="topic-metadata">

**Author:** [@kintz\_09](https://forum.babylonjs.com/u/kintz_09)\
**Replies:** 1\
**Last updated:** [June 10, 2024, 7:32pm UTC](https://forum.babylonjs.com/t/image-gui-control-using-svg-with-opaque-background-renders-as-transparent-background/51200 "2024-06-10T19:32:10Z")

</div>

Hi everyone, I’m looking for some help understanding how the GUI Image control works when the source image is an SVG. My babylon version: 5.57.1 I’ve created a simple Image GUI control and am passing in the SVG image a…
