Hello, How is possible convert a Pdf file in a image file such as jpg or other format?
C'mon. Of course you can do it with B4x but so far nobody did the job for you One way is to display the pdf in a view and get a snapshot (hardcopy) of it. Take a search for snapshot and display pdf or similar.Why there developers can make this function and we can not with b4x?
Lol, i did not remember this.... I is one of the first Libraries i wrapped (January 2015)
In fact it was the SECOND Library i published. See https://www.b4x.com/android/forum/threads/donmanfreds-overview.54618/. I is one of the first Libraries i wrapped (January 2015)
Sub ConvertiPdfImg(nomefile As String) Dim Render As PDFRenderer Dim img As Bitmap Render.Initialize("",Main.pthDOC,nomefile) For i = 1 To Render.PageCount img = Render.renderPageforDisplay(i) ' now save img in a file Next End Sub