Skip to content

[FR] Embed rectangular region from the PDF as image. #321

Description

@tu2-atmanand

Describe your request

Right now the feature, where we can select a region from the PDF and link it to our notes, will only work as long as the PDF is available in the vault folder. When the PDF is moved out of the vault, the following link :

![[Lorem Ipsum.pdf#page=2&rect=103,433,509,552|Lorem Ipsum, p.2]]

will show "could not be found" message.

To solve this issue, and for the users who want to use it this way :

  • A new setting option can be provided for the user to select whether they want the original region linking behavior or embed the region as an image.

  • Using the latter option, when the user will select the region from the PDF, and paste it into the note, a new png file will be created in the attachments folder and the link can be used as follows :

![[Pasted image 20241224164333.png]](Source: [[Lorem Ipsum.pdf#page=2&rect=103,433,509,552|Lorem Ipsum, p.2]])

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions