Sie sind nicht angemeldet.

juyatu

Schüler

  • »juyatu« ist der Autor dieses Themas

Beiträge: 68

Wohnort: China

Beruf: Krpano custom coding

  • Nachricht senden

1

Dienstag, 18. Mai 2021, 14:37

Using the krpano.WebGL.MakeScreenshot capture will lower image quality

https://krpano.com/releases/1.20.9/viewe…tml5=webgl+only
Based on the above example, just set View. distortion to 2.0.Then take a screenshot, and the screenshot will be blurry than the screen.
I tested it repeatedly and found that the smaller the FOV value, the closer the screenshot was to the screen quality, and the less it was blurred.
It's not so obvious on the computer, it's obvious on the phone.
I think maybe only Klaus can answer that for me. *confused*
*thumbup*

Preload Plugin (Free, source code)
Constrast Plugin
KR HLS Plugin
Slider Controller Plugin
KR+Next+MapBox+TS Demo (source code)


微信:Eric_Chen1990

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »juyatu« (18. Mai 2021, 14:50)


juyatu

Schüler

  • »juyatu« ist der Autor dieses Themas

Beiträge: 68

Wohnort: China

Beruf: Krpano custom coding

  • Nachricht senden

2

Donnerstag, 3. Juni 2021, 10:27

Too long no one replied to me.Let me share with you the solutions I found.
Mobile device screens have more than twice as many pixels as computer screens.
So we solved Screenshot's blurring problem by setting Screenshot's height and width to more than 2 times. ;-)
*thumbup*

Preload Plugin (Free, source code)
Constrast Plugin
KR HLS Plugin
Slider Controller Plugin
KR+Next+MapBox+TS Demo (source code)


微信:Eric_Chen1990

3

Donnerstag, 3. Juni 2021, 11:09

Hi,

how do you determinate the size for the your screenshots?

When using external dom/css sizes as source, don't forget to the consider the pixelratio:
https://developer.mozilla.org/en-US/docs…evicePixelRatio

Best regards,
Klaus

juyatu

Schüler

  • »juyatu« ist der Autor dieses Themas

Beiträge: 68

Wohnort: China

Beruf: Krpano custom coding

  • Nachricht senden

4

Freitag, 4. Juni 2021, 05:42

I started with stageWidth and stageHeight, and now I've used it 2.5 times.
*thumbup*

Preload Plugin (Free, source code)
Constrast Plugin
KR HLS Plugin
Slider Controller Plugin
KR+Next+MapBox+TS Demo (source code)


微信:Eric_Chen1990