Questions tagged [screenshot]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8
votes
4answers
13k views

How to capture the screen in DirectX 9 to a raw bitmap in memory without using D3DXSaveSurfaceToFile

I know that in OpenGL I can do something like this glReadBuffer( GL_FRONT ); glReadPixels( 0, 0, _width, _height, GL_RGB, GL_UNSIGNED_BYTE, _buffer ); And its ...
6
votes
1answer
4k views

Unity - Read pixels of camera into memory

I am trying to develop a bot in a Unity game that takes actions based on the image produced by the camera. I have attached a camera to the "face" of the bot, which is the camera I need to get the ...
5
votes
5answers
6k views

Unity3D - Screen Capture of particular UI elements

How can I screenshot particular UI elements? In my case I need screen capture UI Panel with child objects like UI Text, UI Input and etc. Please take a look at picture. Thanks in advance
4
votes
0answers
110 views

Is it possible to capture screenshots in headless (no graphics) mode in unity?

I am trying to capture screenshots while running unity simulation in headless mode (no graphics), if anybody tried to do the same and it worked, please share how could you make it work.
2
votes
2answers
5k views

Quickly Converting RenderTexture to Texture2D in Unity3D

I have a screenshot preview at the end of the game's level. When I am loading the screenshot, it makes the game freeze for a moment. What may I do so there would be no freeze when I am loading that ...
2
votes
4answers
1k views

High performance screenshots in LWRP

I'm trying to capture some screenshots for my game. They need to be saved as jpgs to a folder, latency is not an issue, I don't care if it happens over 10 seconds. My number one priority is to keep ...
2
votes
1answer
3k views

In Unity, on an Android device, CaptureScreenshot writing to Phone, but persistentdatapath linking to the external card

I'm using CaptureScreentshot() to get an image. But when I try to access it on an Android device it's giving me: ...
1
vote
2answers
121 views

Unreasonably large memory use with high-res screenshot script

I'm using this piece of code to save renders and I'm saving renders in every frame inside Update(). Code: ...
1
vote
1answer
513 views

How to take a screenshot with java from directX

I'm looking for a way to take a screenshot with a Java application of any running directX game. I use the following code ...
1
vote
1answer
863 views

Unity - get screenshots from various resolutions

To upload my app to Google Play I need to provide various screenshots. Thing is, I have only one tablet, no phone and I don't feel like virtualizing a bunch of devices. Is there a way to create ...
1
vote
1answer
998 views

Capture High Resolution Screen Shot for Unity Game

I'm working on a mobile game. We need some HD screen shot to use in our press kit. I'd like to know, how do we capture HD screen shot of games inside unity's editor. Resolution must support printing ...
1
vote
1answer
330 views

Screenshot always returning as a white image on iOS using robovm and libgdx

I am trying to take a screenshot for sharing on social media. This code works on my Desktop project, but when I use it on iOS it always shows up as a white image, I am using the standard libgdx code ...
1
vote
0answers
109 views

Unity: Failed to capture screen shot?

I am capturing screenshots at every time step in unity using ScreenCapture.CaptureScreenshot. I am able to get the shots captured and saved in a certain folder but after approximately 50 timesteps the ...
1
vote
1answer
4k views

Take a screenshot from camera problem

I use script below to take a screenshot from camera. It's working fine. However, when I take a screenshot again (pressing k multiple times), its old image is not clear from the memory and it keep ...
1
vote
2answers
2k views

Share Image on Android Application from Unity Game

I've captured screenshot in my game when player dies. I've following code to capture screen shot. ...
0
votes
1answer
1k views

Unity CaptureScreenshot captures and editor as well

I'm trying to create some screenshots but ScreenCapture.CaptureScreenshot actually captures the entire editor and not just the Game view. I'm using this few lines ...
0
votes
1answer
2k views

Adding Screenshots Specifically For 4-inch, 7-inch, and 10-inch Screen

My boss invited me and assigned me now as publisher for the app in Google Play. I have a 7-inch Google Nexus 7 tablet to take screenshot of any one of my sample projects I've made and post and upload ...
0
votes
1answer
717 views

Taking MSAA screenshot using D3DX10SaveTextureToFile()

I have some screenshot code (pasted below) which was working fine until I enabled MSAA. The first time I tried to use this code, it complained that the texture I'm creating needed to match the sample ...