arxiv2notion icon indicating copy to clipboard operation
arxiv2notion copied to clipboard

[feature request] Extracting Fig1

Open Kashu7100 opened this issue 1 year ago • 1 comments

Thanks for the awesome work! I think it would be useful if this extension can grab the first figure of a paper from ar5iv so that it would be easier to visually search the papers in gallery view.

Kashu7100 avatar Sep 05 '24 05:09 Kashu7100

Hi @Kashu7100

That's a nice idea 🤔 It appears that the teaser figure is always stored at https://ar5iv.labs.arxiv.org/html/${paperID}/assets/x1.png. much more reliable than parsing PDFs to extract the teaser. However, due to the PNG conversion process ar5iv employs (?), the images sometimes suffer from noticeable degradation.

I'm not fully aware of how users utilize this extension, so if this were to be implemented, it might be good to add it as an experimental feature with an option to toggle it ON or OFF. While I cannot implement immediately due to other duties, I'll be considering it for future updates.

denkiwakame avatar Sep 06 '24 04:09 denkiwakame