Skip to content

PDF: Expose annotation thumbnail bitmap generation for mobile clients #210

@Dima-Android

Description

@Dima-Android

For the Page Thumbnails sidebar, Reader currently provides onInitThumbnails and onRenderThumbnail. However, for mobile cients, there is no dedicated way to retrieve bitmaps for annotations displayed in an annotations sidebar.

Currently, when initializing the reader with a PDF, the app immediately receives multiple onSaveAnnotations callbacks containing generated bitmap images for annotations. Mobile can use this approach for time being, but I think it's a bit unintuitive and would be better if we also had dedicated callbacks like onRenderAnnotationThumbnail for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions