supermemo / SuperMemoAssistant.Plugins.PDF

Incremental PDF for SuperMemo
https://www.supermemo.wiki/sma/
MIT License
32 stars 5 forks source link

remove extract from pdf #33

Open fkgruber opened 5 years ago

fkgruber commented 5 years ago

Hi Is there a way to remove an image extract from the pdf? I tried removing the extract from SM but the selection still shows in the pdf.

alexis- commented 5 years ago

Hello,

There is no easy way of removing an existing extract.

If this is really critical, you can copy the base64 text from the PDF element in SuperMemo, and decode it to normal text. You will find a json object which includes all the extracted image regions. Look by page number field, and remove the one you want gone. Make sure to preserve the json syntax and turn the whole text back to base 64 and then into SuperMemo.