# Screenshot in high resolution \[Sandbox\]

**URL:** <https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319>\
**Category:** Feature requests\
**Created:** [August 27, 2019, 3:32pm UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319 "2019-08-27T15:32:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![oglu](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/oglu/32/1677_2.png) [@oglu](https://forum.babylonjs.com/u/oglu)\
**Post date:** [August 27, 2019, 3:32pm UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319/1 "2019-08-27T15:32:43Z")

</div>

Please make it possible to create screenshots in double and quadruple of the screen resolution.  
We would like to create super highres screenshots for marketing and UI elements.

---

<div class="post-metadata">

**Author:** ![PolygonalSun](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/polygonalsun/32/2704_2.png) [@PolygonalSun](https://forum.babylonjs.com/u/PolygonalSun)\
**Post date:** [August 27, 2019, 3:59pm UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319/2 "2019-08-27T15:59:32Z")

</div>

Hey @oglu,

As far as I know, there is no method for taking a screenshot in the Sandbox that is of a higher resolution than the current resolution of the monitor it’s taken on.

---

<div class="post-metadata">

**Author:** ![oglu](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/oglu/32/1677_2.png) [@oglu](https://forum.babylonjs.com/u/oglu)\
**Post date:** [August 27, 2019, 4:06pm UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319/3 "2019-08-27T16:06:36Z")

</div>

Its not possible i know but thats why im posting in the feature request forum.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 27, 2019, 4:10pm UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319/4 "2019-08-27T16:10:18Z")

</div>

If anyone is motivated to help I will gladly merge the PR

---

<div class="post-metadata">

**Author:** ![GreyWorks](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/greyworks/32/811_2.png) [@GreyWorks](https://forum.babylonjs.com/u/GreyWorks)\
**Post date:** [August 29, 2019, 9:14am UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319/5 "2019-08-29T09:14:45Z")

</div>

If you have a way to trigger it (maybe timeout, a button or something like that) you can try

```auto
BABYLON.Tools.CreateScreenshotUsingRenderTarget(
            scene.getEngine(),
            scene.activeCamera,
            { width: 3840, height: 2160 },
            undefined,
            'image/png',
            8,
            false,
            'screenshot.png'
        );

```

This does work in the playground. 🙂  
[https://doc.babylonjs.com/how\_to/render\_scene\_on\_a\_png#createscreenshotusingrendertarget](https://doc.babylonjs.com/how_to/render_scene_on_a_png#createscreenshotusingrendertarget)

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [September 7, 2019, 3:54am UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319/6 "2019-09-07T03:54:58Z")

</div>

[Babylon.js SCREENSHOT MAKER Prototype](https://igiuk.com/3d-utilities/scrshotmaker1/) - quick Screenshot maker prototype.  
Based on the example from [another thread](https://forum.babylonjs.com/t/is-it-possible-to-use-create-a-screenshot-using-render-target-along-with-capturing-fullscreenui/2283/11)  
It is quite easy to add a possibility to upload GLTF or Babylon files with instant or custom screenshot creation (as well as possibility to choose environment, light and other scene presets).  
It is also possible to capture every frame from rendering with high res and record it to disk (needs server-side things). See code example here - [Custom Rendering of Scenes to Video](https://forum.babylonjs.com/t/custom-rendering-of-scenes-to-video/146)

---

<div class="post-metadata">

**Author:** ![Devin\_Wright](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/devin_wright/32/4302_2.png) [@Devin\_Wright](https://forum.babylonjs.com/u/Devin_Wright)\
**Post date:** [September 7, 2019, 4:33pm UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319/7 "2019-09-07T16:33:19Z")

</div>

Here is an attempt. [Create option to Render Screenshot by 13djwright · Pull Request #6822 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/pull/6822)

---

<div class="post-metadata">

**Author:** ![Devin\_Wright](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/devin_wright/32/4302_2.png) [@Devin\_Wright](https://forum.babylonjs.com/u/Devin_Wright)\
**Post date:** [September 16, 2019, 3:34pm UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319/8 "2019-09-16T15:34:52Z")

</div>

@oglu This was just merged in this morning. So, you should see it sometime soon. I think it would also include the alpha you asked about in another thread.

---

<div class="post-metadata">

**Author:** ![oglu](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/oglu/32/1677_2.png) [@oglu](https://forum.babylonjs.com/u/oglu)\
**Post date:** [September 16, 2019, 7:31pm UTC](https://forum.babylonjs.com/t/screenshot-in-high-resolution-sandbox/5319/9 "2019-09-16T19:31:47Z")

</div>

Great thanks!
