Android Question Tool to convert B4X view to a JPG or PNG image

Sergio83

Active Member
Licensed User
Longtime User
Hello everybody,

Does anyone know a procedure or a tool to convert a B4X view (panel for example) to a JPG or PNG image?
My purpose is to make a help B4XPage for my apps.
Any help is welcome, thanks by advance and beware of hot weather ...
 

LucaMs

Expert
Licensed User
Longtime User
? ?? Would it be useful to add a command to the xui library to do this with just one line?

xui.SaveSnapshot(xView As B4XView, [Dir As String], FileName As String, FileType As String)

where Dir would be optional (you should pass an empty string or create two versions of that SaveSnapshot).
FileType should accept "JPEG" or "PNG", of course (constants provided by xui) and this may also be optional.
 
Upvote 0

Brian Dean

Well-Known Member
Licensed User
Longtime User
What do you mean?
I think that this is a rhetorical question - one that does not expect an answer. He is saying - "I have a problem; I ask a question in the forum; I get a complete answer that solves my problem .... and then a few minutes later I get an even better answer! How is this possible! What a wonderful forum this is". And he is right.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…