|
Rank: Member Groups: Member
Joined: 10/19/2020 Posts: 12
|
Hello, What is the "screen resolution" when running WebView without UI and is there a way to improve the image quality in this case?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
It's your default screen DPI value. So for example, if your default screen is at 96 dpi , then that's the resolution the image will be. However in practice this value doesn't matter much as a lot of images doesn't even store DPI values. I am not exactly sure what image quality you are talking about, if you are talking about screen capture quality, then you can not change that as it basically captures whatever would have been displayed on screen.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/19/2020 Posts: 12
|
Capture images, obtained from WebView are always blurred, compared to the corresponding screenshots. I mean that quality.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi, Please make sure your own application is high DPI aware. See this post for sample code: https://www.essentialobjects.com/forum/postst11391_PageImages-are-blurry.aspxThanks!
|
|
Rank: Member Groups: Member
Joined: 10/19/2020 Posts: 12
|
The documentation says that it works only for desktop applications: https://docs.microsoft.com/en-us/windows/win32/api/windef/ne-windef-dpi_awarenessWe are running server applications though. Is there any option for server applications? Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Have you tried it?
|
|
Rank: Member Groups: Member
Joined: 10/19/2020 Posts: 12
|
Yes, I have.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
In that case please create a small test application and then PM us remote access to your server and we will investigate further on your server.
|
|
Rank: Member Groups: Member
Joined: 10/19/2020 Posts: 12
|
I've created the sample project on GitHub https://github.com/svma-softwareag/CaptureTest.git, with instructions, so you could run it anywhere on your environment. This sample project mimics the core steps that our application does in reality with Essential Objects WebView. Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
We tested your project here and we are not able to reproduce the problem. It must have something related to your server. Is it possible for you to provide remote access to your server?
Thanks!
|
|
Rank: Member Groups: Member
Joined: 10/19/2020 Posts: 12
|
Hello,
It makes no sense to access the specific server, because the product runs on thousands servers all over the world, and everywhere with the same effect. Any Microsoft Cloud Windows VM, for example, should suffice.
On the other hand, may I ask, what do you mean "we are not able to reproduce the problem"? Have you got clean and crisp images? Or is the image with "highDPI" really better then the one without "highDPI"?
If that is so and such, can you please attach those images?
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
The forum doesn't support attachment. So we have emailed the capture result to you.
Thanks!
|
|