Open maikabo opened 4 years ago
What do you mean bout dynamic bitmaps? Can you make it clear?
I want to get bitmaps from PDF using android pdfrenderer and flip them using your library. How do I do that?
I just took a look PdfRender from android official doc: https://developer.android.com/reference/android/graphics/pdf/PdfRenderer, I think the PdfRender can draw a pdf page on a Bitmap, you can use the similar codes to replace the image drawing codes in our sample project:
https://github.com/eschao/android-PageFlip/blob/adf677e156fd83c8a6eaea650e493e82c876f8c2/Sample/src/main/java/com/eschao/android/widget/sample/pageflip/SinglePageRender.java#L174
The drawPage
will be replaced to your codes by using PdfRender to draw pdf page.
Let me try. Do you have any suggestion on how I can achieve that.
No, that is only way I can think of now.
How can I implement dynamic bitmaps using this library