Skip to content

Allowing "screenshot" of the page inside a rectangle/square box to capture images/charts/diagrams #17

@dummifiedme

Description

@dummifiedme

Benefits

Having a way to include the screenshot of the region inside a created square(or rectangle) would help in

  • Extracting useful images or charts off the pdf by simply drawing a rectangle around it.
  • Extracting hand written scribbles or diagrams by simple enclosing them in a rectangle.

Image naming and handling

The extracted images could be sent directly to the asset/image/attachment location in the vault while assigning a incremental naming to them or based on the page numbers or plain random just like what obsidian does when pasting.

Example

PDF sample

image

Outpul sample

image

I had implemented it in a crude way but using Python, and I am a newbie to programming. If you could work on something like this, it would be really helpful as I have a lot of diagrams that I now manually screenshot and paste. This could make life easier for everyone who need to extract images or diagrams.

Also:

  1. A post I wrote on Forum : https://forum.obsidian.md/t/discussion-extracting-annotations-from-pdfs/24411
  2. A pdfAnnotate library that I found which might be useful : https://github.com/highkite/pdfAnnotate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions