Questions tagged [screenshot]

For questions about screenshots — digital images that show the contents of a computer display,

4722 questions
2
votes
3 answers

Taking screenshot from part of screen in swift

I Need to take a screenshot of a part of the screen. This is the code to take a screenshot of the full screen: UIGraphicsBeginImageContext(view.frame.size) view.layer.renderInContext(UIGraphicsGetCurrentContext()) let imageRef =…
sdd
  • 889
  • 8
  • 29
2
votes
2 answers

android activity screenshot how?

Hello Friends i'm making a app with webview i want to take screenshot of my activity Currnetly i'm using this code for capture image public Bitmap takeScreenshot() { View rootView = findViewById(android.R.id.content).getRootView(); …
2
votes
1 answer

Fastest way to display a screen buffer captured from other PC

My problem is the following: I have a pointer that stores a framebuffer which is constantly changed by some thread. I want to display this framebuffer via OpenGL APIs. My trivial choice is to use glTexImage2D and load the framebuffer again and again…
jaeyong
  • 8,951
  • 14
  • 50
  • 63
2
votes
3 answers

Java- screen capture behind the application

Is there a way to capture the screen but without the app itself getting shown. I know how to minimize or make a frame invisible but this has to be done real fast cos it's going to happen alot in each second (at least once every second). I want it to…
Auxiliary
  • 2,687
  • 5
  • 37
  • 59
2
votes
0 answers

How to create keyboard shortcut for a command of developer tool in firefox?

I need to use Firefox developer tool command line to take screenshot at fixed time interval. The special command I need to use is 'screenshot --chrome', I wonder if I can create a keyboard shortcut for this. If possible, how can I implement the…
name na
  • 21
  • 2
2
votes
1 answer

Libgdx - screenshot poor quality

I try to make a screenshot of my game according to this article: https://github.com/libgdx/libgdx/wiki/Taking-a-Screenshot It seams that there is problem with black color in PNG conversion. My screenshots looks as follow: should be: is: Here …
LukaszTaraszka
  • 801
  • 1
  • 10
  • 26
2
votes
2 answers

Creating and Deleting Pictures/Screenshots

Well, happens that im writing a program to take some screenshots and having some difficulty dealing with files being already in use by another process, hopefully someone can help me find a way to "close" this process or enlight me how to…
abr
  • 2,071
  • 22
  • 38
2
votes
2 answers

How to take a screen shot of an app (within an app)? (iPhone)

So what if I want to make an app where you can take a screen shot within the app itself. How would I do that? So for example the users click a UIButton and it takes a picture of the screen.
thyrgle
2
votes
1 answer

Can node-webkit or atom-shell take screenshot of entire desktop screen?

I want to take a screenshot of entire screen (PrintScr), not just browser window. Is this possible with either node-webkit or atom-shell?
laggingreflex
  • 32,948
  • 35
  • 141
  • 196
2
votes
0 answers

Screen capture with gtk2hs using gtk3

I'm aware that using gtk2 it was possible to capture a screen into a pixbuf using gtk2hs. The solution is given here: Screen capture in Haskell?. The problem is that pixbufGetFromDrawable is absent in gtk3 (at least in gtk2hs). Can somebody…
Aurimas
  • 71
  • 3
2
votes
1 answer

run os x screencapture from emacs call-process

I would like to generate a screenshot on OS X from within emacs with interactive selection of the region. On the command line this works as expected screencapture -i ~/test.png The file is not created, though, when I call this using (call-process…
Andreas
  • 1,106
  • 9
  • 26
2
votes
3 answers

Xcode 6 - iOS Simulator - take screenshot from command line

In Xcode 6 Apple added simctl which allows to do a lot with the iOS simulator, but there is no option to take screenshots. There are 2 alternatives, less comfortable: Using instruments and *.js scripts - UIAutomation. Using osascript as mentioned…
Ron D.
  • 3,774
  • 6
  • 31
  • 39
2
votes
0 answers

how would you take a screenshot in a iOS Safari Extension?

Building a Safari (desktop) extension, one have access to screenshot from tab.visibleContentsAsDataURL(); it works brilliantly, lightning fast. Something like this: Safari Extension Taking Screenshot On iOS, we tried: Html2Canvas (it didn't produce…
2
votes
0 answers

Android, change view and take screenshot

I want to change the visibility of a view from GONE to VISIBLE and take a screenshot of my whole application and save it in a file. I'm able to take the screenshot, but the view remain not visible (GONE) in the jpeg file. The method is called from a…
Accollativo
  • 1,537
  • 4
  • 32
  • 56
2
votes
0 answers

Trying to take screenshot of a entire listview

I need to take screenshot of a entire list view irrespective of what is visible in the screen, but at atlast I'm ending up with the Image which consists of details which is visible in the display alone. Please help me resolve this issue. Here's my…
Parthiban M
  • 1,104
  • 1
  • 10
  • 30