Screenshot has a little bit of background attached
See original GitHub issueHey, I’m using Appium
with WinAppDriver
with Visual Studio 2015 Community Edition
to Test a UWP application.
I was doing some screenshots for documentation with
var img = mySession.GetScreenshot();
img.SaveAsFile("D:\\myfile.jpg", ImageFormat.Png);
and after opening the file, there was some parts of the background (maybe 3-10 pixels) over the App border in the image. I don’t know, whether this is related to Appium
or WinAppDriver
, but is there a way to fix this?
A workaround might be to crop the image myself with an Image Tool, like IrfanView
, but I would like to avoid that.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How do I remove the background from my image screenshot?
In order to get rid of background in few seconds use FOCOCLIPPING in order to allow your image looks more attractive and good....
Read more >iOS takes a screenshot of App every time it is sent to ...
Here is the path where the screenshot is being stored when my App gets backgrounded. Even more critical scenario will be if user...
Read more >Window Screenshot background black - Ask Different
1 Answer. This happens when you switch screenshot file type to jpg. Switching back to default (png) solves the problem.
Read more >How to remove the shadow effect from screenshots on Mac
Hold the Option key and click on the window with the camera icon to take a screenshot without the shadow effect. Remove the...
Read more >Visual Studio Code problem (attached screenshot)
I almost have it working but there's something I must have mis-clicked which is causing the webpage to not display the background or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A fix to this issue should be coming in v0.8.
We’re looking at improving the way screenshots are implemented.