Questions tagged [screenshot]
For questions about screenshots — digital images that show the contents of a computer display,
4,751
questions
0
votes
0
answers
62
views
How to speed up the screenshot in c#
Basically i'm trying to make the screenshot function faster, because it only gives me around 230 iterations/s, but i have to make it faster than 1ms (over a 1000 iterations a second), is there a way i ...
0
votes
0
answers
26
views
Is it possible to take screenshots while screen is off?
I'm writing a python app to detect visual changes in a browser window. I've managed to get it working well by using the mss python module to take screenshots but it only seems to work while my screen ...
-2
votes
0
answers
27
views
Morse code reader or decryption application [closed]
I want to be able to take a screenshot of some written Morse code and have it translated. How do I decipher written morse code from a screenshot? I've tried using Google Lens and didn't really expect ...
-2
votes
0
answers
32
views
Playwirght. Screenshots compare failed on the same enviroment
System info
• Playwright Version: [v1.24]
• Operating System: [Linux]
• Browser: [Firefox]
Localy everything is ok. I get an expected results. But when I run test in CI, Firefox cases failed with this ...
0
votes
0
answers
20
views
I want to launch A quicksetting tile from command line using 'am start "
The app name is screenshottile[no root] and I want to take a screenshot by swiping.
For that I use xposed edge but I dont want to use build in normal screenshot.
I tried this in xposed edge command ...
0
votes
1
answer
18
views
Selenium-based screenshot in Jupyter Notebook failing to capture full dataframe
I want to use capture a screenshot in Jupyter Notebook which includes all the content from a dataframe (up to 300 records) and for that to be saved as an image file.
The code below works well to ...
0
votes
0
answers
35
views
screenshot from the second tab - puppeteer, nodejs
I want to capture the screenshot of my page from the second tab, which is opened after clicking in the first tab. But code do nothing. Nodejs , Puppeteer
My code:
code is safe for cloudfare checker.
...
0
votes
0
answers
39
views
When taking a screenshot using Unity's RenderTexture, the post-processing effects are not being applied
Post-processed (On the Camera)
enter image description here
Not Post-processed (When taking a screen captrue)
enter image description here
The following code is for screen capture with an in-game ...
0
votes
1
answer
87
views
tkinter screenshot with mss not working as expected
essentially the problem is: I want to take a screenshot of my tkinter canvas.
Unfortunately I am not able to understand PIL, so don't gaslight me with Pillow or ImageGrab please.
from mss import mss
...
1
vote
0
answers
33
views
Is there a way to take screenshot from a window that is not currently active through a Python script? [duplicate]
I have seen ways to take screenshots easily for the active window in Windows OS.
I would like to know if there is a way and how to take screenshots from windows that are minimized in Windows OS, ...
0
votes
0
answers
15
views
ios screen capture-related functionality inhert viewcontroller invisible
When working with screen capture-related functionality, I want to create a BaseViewController to provide functionality for other UIViewControllers. However, I have set up the loadView method in ...
0
votes
0
answers
27
views
screenshot can't be captured when winlogon screen is displayed [duplicate]
I want to capture screenshots of the screen via a user process which is coded in C++. The approach successfully captures the screen while a user logs in an account but when winlogon screen is ...
-1
votes
0
answers
53
views
How to send gdi plus data through socket?
I'm building a remote help software like team viewer, where I need to receive the client's screen at my server.
I'm using gdi plus to get the screen print and save it to a jpeg:
int ...
0
votes
2
answers
65
views
How to take screenshot in python during the code
i maked a while loop, that when i am pressed the key on my keyboard it takes me a screenshot.but i noticed that the screenshot takes only when i exit the code, i want that the screenshot takes during ...
0
votes
1
answer
39
views
Flutter/dart - Take screenshot of the entire screen using Flutter?
New to Flutter these days and came across something which I would like your help to tackle.
[Flutter/dart] Is there a way to take screenshot of the entire screen using Flutter?
Looking for a ...
0
votes
1
answer
18
views
How can i take screenshot in background after a min and save it in gallery not of my but my phone?
Hello Stack Overflow community,
I am working on an Android app where I need to capture background screenshots periodically. I've explored two approaches: using MediaProjection and using a Canvas. ...
0
votes
0
answers
24
views
Insert various external div's on HTML canvas
Currently I am trying to create screenshot functionality of a Geospatial map
Below I have achieved to get the Geospatial map as a screenshot, where as I need to add few divs from outside the ...
0
votes
0
answers
21
views
Program terminated before finishing copying values to clipboard
I created a simple Java program to capture a screenshot and save it to the clipboard.
The code below does not do anything until I added Thread.sleep(2000); to the end of the main method.
Is there a ...
0
votes
0
answers
65
views
fastest way to get a pixel from a PyCDC image
So I am trying to take a screenshot and get RGB values of around 50,000 pixel from it all in 0.02 seconds or less.
I have a screenshot that was captured using windows API and saved in a variable with ...
0
votes
0
answers
24
views
c++ capture screenshot and get bitmap into a string hex or binary
It's been awhile since I needed to do screen capture (VB6), now im trying to do it in C++ with VS 2019 on windows 10. I only need it to work on windows 10 if that helps. I'm trying to take a ...
0
votes
0
answers
40
views
Prevent repeated alert messages when using FLAG_SECURE to block screenshots in Android app
I am using react-native-pvt-jail-monkey to block screenshots and recordings in my app. Upon user tap on the secure screen button, app will call to a native module method that sets the FLAG_SECURE flag ...
1
vote
0
answers
25
views
why Python win32api.GetCursorPos() compress coordinates 1.25 times
For a long time I could not understand why the coordinates that I receive from win32gui.GetCursorPos() and those that I send to the screenshot do not match, until I noticed that for some reason they ...
1
vote
2
answers
48
views
How to take full page screenshot of a webpage in a browser, below the visible screen, using python
I am trying to open specific web pages and then take a full page screenshot of the webpage. I know this can be done using the dev tools in Chrome but I have not been able to find a method to do this ...
0
votes
0
answers
25
views
importing usePreventionScreenCapture from expo-screen-capture creates a warning
In my react native expo application, I am preventing screenshots by using the expo package expo-screen-capture. I am also using the dev client to be able to read PDFs so after installing the expo-...
0
votes
0
answers
72
views
Adding Watermark to Screenshots in Flutter App on Android and iOS
Question:
I am working on a Flutter app and I need to implement a feature where a watermark is automatically added to screenshots taken by the user from within my app. This functionality should work ...
0
votes
1
answer
67
views
How to Prevent the Actual UI Content from Appearing in a Screenshot? [duplicate]
I need to do the operation here is to restrict the actual ui with some other ui when user attempts to take the screen shot, but here when i try to take the screen shot the red blocker view appears but ...
1
vote
1
answer
48
views
Apple Store Connect screenshot for 5,5 iPhone model
I'm trying to publish an application on the App Store, but it's requesting screenshots from an iPhone with a screen size of 5.5 inches. The iPhone in question should be an iPhone 8 Plus. However, when ...
0
votes
0
answers
51
views
Find real-time coordinates python mss and show it
I have some code below.
I want find some process and get real-time screenshot of that window. I need to get right coordinates.
I have next construction:
import win32gui
import numpy as np
import cv2
...
0
votes
1
answer
94
views
How can I capture a screen with a white background or a transparent screen with C# Winforms?
I am developing a program that selects a certain range (adjusts the size) and captures it through Winforms. However, a transparent background or white color is recognized as transparent.
I searched ...
0
votes
0
answers
27
views
I am trying to take a screenshot inside a VM (without being logged in to it)
If I am logged in through RDP, i am able to take the screenshots. But if i log off, i am not able to take any screenshots anymore as it fails.
I am using python, taking screenshots is a part of a ...
0
votes
1
answer
36
views
How can I take screenshot upon chromedp.Run failure?
I'd like to have a screenshot of how the browser looked like when an error (context deadline exceeded) occurs (preferably in both headless and headed modes).
I added chromedp.Screenshot(...) to the ...
0
votes
0
answers
6
views
How to simulate a tap event on iPad
I'm writing a simple script allowing to take screenshots of a physical device in debug mode attached to a computer and send tap events to control it.
For Android, the adb seems to be doing the job ...
0
votes
0
answers
33
views
Issue with taking screenshots using Selenium WebDriver
I want to take screenshots of webpages using Selenium WebDriver. While the basic functionality seems to work, there would be an issue with capturing a specific type of webpage of a pesco billing site. ...
0
votes
0
answers
56
views
Why is Puppeteer not loading images from my LibreNMS dashboard widget graphs?
I'm very new to all of this, so please forgive my ignorance. To work around the lack of reporting in LibreNMS, I've decided to pull screenshots from the initially loaded dashboard once authentication ...
0
votes
1
answer
263
views
How to ignore/eliminate difference Playwright screenshots in headed and headless runs?
Testing an application with Playwright, I have a little problem with screenshot tests - they failed with a kind of error:
Error: Screenshot comparison failed:
Expected an image 200px by 167px, ...
0
votes
0
answers
11
views
Python Screen recorder stops working after a while
i'm trying to create a perpetual screen recorder that just split videos after a certain time. It seems to work fine, but after 10/15 minutes the command for taking screenshots just stop working and ...
1
vote
0
answers
46
views
Why screenshot is not made after click on floating widget button which is connected with screenshot function?
I'm writing a program which will make screenshot after click on floating widget. I fixed all errors, floating widget is loaded after permission granted. In a separate screenshot app everything is OK ...
0
votes
0
answers
23
views
Show screenshot preview with bounding boxes from lighthouse report
given the following lighthouse report:
https://hpj2wy.csb.app/lighthouse.html
I want to display the boundingboxes of the error elements in a similar way, but within a react component.
Here is what I ...
1
vote
1
answer
85
views
Take a full scrolling screenshot of a different page using Vanilla JavaScript
How can I take a scrolling screenshot of a webpage with a different domain name using Vanilla JavaScript. The website should ask the user to enter a webpage URL. The website should then display a ...
0
votes
0
answers
25
views
How to take screenshot of view that contains AVPlayer in iOS Swift
func getVideoScreenShot(url: URL? = nil, viewToCapture: UIView) -> UIImage? {
if let url = url {
let asset = AVAsset(url: url)
let imageGenerator = AVAssetImageGenerator(asset: ...
0
votes
0
answers
34
views
Restrict user on taking screenshot in Xamarin iOS
I want to restrict user to take screenshot in my Xamarin Native iOS application.
I have seen lots of links and code but somehow it does not work for me.
I followed the solution from the link Restrict ...
0
votes
1
answer
36
views
Is there a way to take a screenshot of the screen of android/ios device without active user action?
I'm beginner in mobile development, and I have a question:
"Whether the device can take screenshots of the screen of an open application without active user action, if the user has allowed this ...
1
vote
1
answer
70
views
Increase Speed Performance on C# PrintWindow() in PowerShell?
I have successfully implemented C# code of PrintWindow to use within PowerShell (below), but I am wondering if I can speed this process up. It currently takes on average 80ms to perform the ...
0
votes
0
answers
41
views
graalvm 21 new Robot().createScreenCapture(size) returns magnified
For the java project below that screencaptures to a jpg file, why
jar version creates proper jpg file,
graalvm exe version creates magnified jpg file
even though they both detects screen size ...
4
votes
0
answers
64
views
How to screenshot specific elements from PDF textbook?
I am wanting to take a screenshot of all the "Theorem" boxes in my math textbook and store them in my OneNote so that I have a quick reference of important theorems.
An example theorem is ...
0
votes
1
answer
58
views
How can I correct missing parenthesis expression? [closed]
I am currently taking an intro class for Information Technology and we are working in PowerShell this week.
We were provided with a Code that will take screenshots and have to do the rest of our ...
2
votes
2
answers
692
views
How to prevent user from taking screenshot or screen recording in iOS 17?
I have a Flutter app where I want to prevent users from taking screenshots and screen recordings. I have the following code which works perfectly for iOS versions lower than 17 but not for iOS 17.
...
0
votes
0
answers
13
views
Why isn't my python.exe working, but the code works in IDLE?
I am new to coding, but I was trying to create a Python code, which is able to take screenshots with some given instructions (coordinates, number of screenshots, time interval between them and the ...
0
votes
0
answers
26
views
Android: Java - implement Screenshot code to floating button
I have two programs which are working. But I need to implement screenshot function into floating button (second) code.
In the first there is made screenshot after button click:
MainActivity.java
...
1
vote
1
answer
341
views
Prevent screenshot with 'isSecureTextEntry' is not working on iOS 17
I am using ‘isSecureTextEntry' on iOS 16 with this solution, https://stackoverflow.com/a/76390952/22598343
extension UIView {
func makeSecure() {
DispatchQueue.main.async {
let ...