scambier / obsidian-text-extractor

A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.
GNU General Public License v3.0
349 stars 19 forks source link

[BUG] Obsidian crash with Huge images #34

Open leonlazic opened 1 year ago

leonlazic commented 1 year ago

I have added 2 huge images to the vault (139 Megapixels each). With the Text Extractor enabled and trying to index the images it crashes Obsidian after a couple of seconds. I propose a setting either configurable or not that puts a max cap on the screenshot size to index. Anything above the cap gets ignored by the text extractor. This appropriate cap would probably depend on the hardware capabilities so configurable would make sense.

I am attaching the two images for testing purposes: Swiss Transfer