[F/OS] Webview2File Extension: Effortlessly Convert WebView Content to Stunning PDFs and Gallery-Ready Images!

Not saving a file ?

image

image

No, the dirName is just the name of the directory that will be created in the images directory.

This will need some explanation. I am now finding "captures" in the Images folder and in the ASD.

Does it create the Images folder ? I do not have one as default on my Pixel 8a?

Would it not be better to allow the user to define the filename, and store in a regular location like Pictures or Download ?

Also it does not capture my google site very well, just the header and the first piece of text, then white

Link

Please can you look at the code and check. I left the code opensource for friends to contribute.

Is what was generated the same as what was visible on the screen?

Well, yes, but I was expecting the whole page to be converted to an image...

Which block did you use? ConvertToImage?

image

The pdf block does create the entire page, but all images are maximised to the width of the page, they do not retain their relative size as displayed in the webviewer, and it also places the navbar at the top of every page, which obscures some of the content

from pdf

from webviewer

:question:

:question:

[quote="Anke, post:31, topic:135805"]

[quote="Passos_0213, post:24, topic:135805"]

:question:

I wrote it wrong, dirName is the name of the directory that will be created in the image gallery.

Obs.: I changed "image gallery" to "images directory".

:question:

There is no such dir.

I tested it on Android 11. I used the Google Files app and found the directory.

:question:

For the last time, which directory? Post the absolute path.

The image is saved in the Pictures folder, in a subfolder with the specified name.
/storage/emulated/0/Pictures/your_custom_name_folder/

3 Likes

I've created a pull request with a fix. Could you please update the extension so we can list it?

2 Likes

Thank You. I have updated the post archives.