PixInsight Forum

PixInsight => Wish List => Topic started by: hvb356 on 2019 February 13 10:35:01

Title: WebView
Post by: hvb356 on 2019 February 13 10:35:01

WebView works nice with HTML content. When I try to load a pdf, nothing happens. No view, no error.
Is there a trick to convince this control to act like a browser?

Thank you

Title: Re: WebView
Post by: Juan Conejero on 2019 February 15 11:53:27
Hi Hartmut,

The WebView component of PixInsight is an excellent HTML5 renderer, as you have seen, but it is currently far from being a reasonably complete web browser. For example, the integrated browser in Process Explorer cannot download files or perform user authentication operations, or open multiple documents, which limits its usability as an actual browser considerably. It cannot represent or open PDF documents either.

WebView can render HTML5 multimedia objects (such as YouTube videos, for example) without problems, and can handle HTML5/JavaScript interactive content remarkably well, as the SubframeSelector tool demonstrates. But I still have to invest a lot of time and work to make it a real browser. This is in the to-do list, and you can expect more functionality added to WebView in successive versions of PixInsight.
Title: Re: WebView
Post by: hvb356 on 2019 February 15 21:52:41
Hi Juan,

I understand.
For my latest script I looked for a workaround. I convert my pdf into a collection of jpeg images, put them into a file and display each with a Frame control. Works excellent.

Thank you