-
Notifications
You must be signed in to change notification settings - Fork 803
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
How to get Uint8List data of page? #1964
Comments
Hi @xyzbilal, You can find the sample code in the issue #1879. Please confirm us whether the solution worked for you |
Actually this is not exact solution because it requires ui and in serverpod server side ui is not available. I was looking for solution without importing dart ui. Your suggestion works in client side. if you do not have solution in pdf then we will implement this in client site with pdf viewer. thanks. |
Unfortunately, extracting the PDF page image without using the Dart UI library is not currently possible. If you need further assistance or have other questions, please feel free to ask. |
@xyzbilal As we have not heard back from you regarding the details shared in our last update, we are closing this issue. You can reopen this anytime and share the requested details to proceed further. |
Use case
Create thumbnail of pdf for certain page.
Proposal
Hi,
I m workin on a e-newspaper app with serverpod and I try to create an image thumbnail when user uploads a pdf, I want to get first page and create jpeg image from it. its possible to create with pdfrx page on client site but because it requires flutter ui, I cant use it server side. My question is if I can get Uint8List data of page in pdf. I share my example function for reference. regards.
The text was updated successfully, but these errors were encountered: