Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a screen capture at double resolution?

If your phone's display size is 320x480, then AndEngine performs screenCapture() at the same 1:1 resolution.

I tried changing the surface size... I tried generating the camera at double resolution... I tried scaling the mRenderSurfaceView....

But, the screenCapture() will always save the file in 320x480 resolution, i.e. the resolution of actual device.

So can anyone help me to show how can I get a screen capture in double resolution ?

like image 411
CodenameLambda1 Avatar asked Jun 18 '13 05:06

CodenameLambda1


People also ask

Can you increase resolution of a screenshot?

Go to Display settings and set the highest resolution available for your device. Then, open Advanced scaling settings and allow Windows to fix apps, so they're not blurry. This option should always be turned on before you take a screenshot.

How do I take a high resolution screenshot in Windows 10?

If you want to take screenshots on Windows, you can use the PrintScreen button or the Snipping Tool. With the PrintScreen button, users then have to paste the image into Paint or another program and save it in the desired format.


1 Answers

Looking at this answer, it backs up that you can't screen shot what is not being rendered.

The alternative mentioned is to render to a RenderTexture of applicable size instead. That other question has an example.

like image 129
Nick Avatar answered Sep 19 '22 05:09

Nick