-
Notifications
You must be signed in to change notification settings - Fork 40
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
Lower image-annotation thumbnail resolution #60
Comments
We can directly set the render resolution on iOS, not sure how it's on Android. |
A while ago I've sent them this email: Greetings! Here is the problem I am trying to solve: The list item in that sidebar is basically an annotation preview bitmap which displays the annotation itself (for example ink or image annotation) and the raw pdf content displayed behind it. If you look closely at the screenshot you will notice that for previews of annotations that occupy a small area of the screen the display quality of the raw pdf content is quite low. On iOS we do not have such an issue. To explain the situation better let’s compare how iOS and Android render Annotation previews in the Zotero app.
On Android’s PSPDFKit there doesn’t seem to be a way to achieve the same result with the same steps. So instead I had to figure out and piece together a different approach. Ok so we have a bitmap with raw PDF content. We now need to create a second bitmap with annotation itself. Now we merge those two bitmaps together and we get the result we need. Could you please either confirm that Android’s version PSPDFKit indeed doesn’t currently allow to achieve the same high quality result as its iOS version and if so could you please give estimates on when you guys are planning to implement it. Cheers! |
To which I got a reply like this: The things is:
I don't think the questions that I raise at the end of my email require any sample apps as there is nothing to debug or fix. I have simple questions of whether you have that functionality on Android or not. And if you do then explain how would i go about implementation. |
@Dima-Android I probably wouldn't mention iOS at all, just ask them how to render parts of pdf on android in higher resolution. But since you're already here, why is making a demo app difficult? I've provided some demo apps for them before, it helps them because they can debug the app with their internal tools and see what's going on better. Just create a sample app with single window which contains PSPDFKit with some hardcoded opened PDF file. Then add a button which does the background processing (which you can mostly copy from our existing app) and show the resulting image above the PDF in some hardcoded place. Or maybe just try simplifying the question to something like:
|
I'm seeing much lower resolution in the sidebar than on iOS for the same annotations. @michalrentka, any guidance on sizing?
The text was updated successfully, but these errors were encountered: