Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any example to show pdf in europie? #121

Closed
qlibp opened this issue Oct 22, 2024 · 2 comments
Closed

Any example to show pdf in europie? #121

qlibp opened this issue Oct 22, 2024 · 2 comments

Comments

@qlibp
Copy link

qlibp commented Oct 22, 2024

as said in readme , europie can display pdf, but I find no example scripts to do so, any documentation?

@joouha
Copy link
Owner

joouha commented Oct 22, 2024

Hi,

I seem to have missed out PDFs from the installation page in the documentation, so I'll update that 👍

Depending on which terminal graphics protocol you want to use, you will need different dependencies to display PDFs:

  • For ANSI art:
    • chafa, timg, or tiv
  • For the iterm2 / kitty graphics protocol:
    • imagemagick
  • For sixel graphics:
    • imagemagick or chafa

Your best option is probably to install imagemagick you should be able to display PDFs.

Note

Only the first page of a PDF file is displayed. This is because I haven't implemented viewing multiple pages yet.

I hope that helps.

@joouha
Copy link
Owner

joouha commented Jan 23, 2025

Fixed by 4f6562c, now included in documentation here

@joouha joouha closed this as completed Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants