Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic bitmaps #56

Open
maikabo opened this issue May 20, 2020 · 5 comments
Open

Dynamic bitmaps #56

maikabo opened this issue May 20, 2020 · 5 comments

Comments

@maikabo
Copy link

maikabo commented May 20, 2020

How can I implement dynamic bitmaps using this library

@eschao
Copy link
Owner

eschao commented May 29, 2020

What do you mean bout dynamic bitmaps? Can you make it clear?

@maikabo
Copy link
Author

maikabo commented May 29, 2020

I want to get bitmaps from PDF using android pdfrenderer and flip them using your library. How do I do that?

@eschao
Copy link
Owner

eschao commented May 30, 2020

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:


The drawPage will be replaced to your codes by using PdfRender to draw pdf page.

@maikabo
Copy link
Author

maikabo commented May 30, 2020

Let me try. Do you have any suggestion on how I can achieve that.

@eschao
Copy link
Owner

eschao commented May 30, 2020

No, that is only way I can think of now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants