You need a SIXEL capable terminal for this to work! (See https://www.arewesixelyet.com/)
Konsole works best with my script from my experience (but you might want to increase its Scrollback buffer size).
You could also use xterm or mlterm but those will most likely remove SIXELs before all the found pages are displayed.
Also note that most terminal emulators don't support SIXEL but it is more adopted than other competitors.
- Orange results per page number (hide with
--no-result-numbers
) - Scale (all sides of) pages to size in pixel by using
--scale-to
Parameter order doesn't matter but the search string has to come last.
- Further passing of parameters to pdfgrep
- Search of individual files
- Recursive search
- (No) duplicate pages
- Highlight text inside pages (very hard with shell script utilities alone...)
Optionally wrap the thing to allow the following operations (shortcuts next to pages): - Edit a page in an external editor (text or graphical)
- See adjacent pages
- Resize (single/all) pages after output
- Auto resize pages when terminal size changes