Specifications
prev 2.4.2, a document and image viewer and editor. For what each feature does, see the tour.
Systems and processors
| System | Versions | Processors | Packages |
|---|---|---|---|
| Linux | Wayland (Hyprland first), X11; glibc 2.35 or newer for the .deb, .rpm and AppImage | x86_64, ARM64, RISC-V | .deb, .rpm, AppImage, Flatpak, tarball, PKGBUILD for Arch; mise. No AppImage or Flatpak on RISC-V |
| Windows | Windows 10 and 11 | x64, ARM64 | Per-user installer (.msi), portable .zip |
| macOS | macOS 11 or later | Apple Silicon, Intel | Disk image (.dmg); Homebrew |
| Graphics | The GPU through Vulkan on Linux, DirectX 12 or Vulkan on Windows, and Metal on macOS; the CPU when no GPU backend starts |
|---|---|
| Instances | One running prev per user; opening more files adds windows to it |
| Look | Material Design 3, light or dark and the accent color from the system |
File formats
| Documents | PDF, including password-protected files |
|---|---|
| Images | PNG, JPEG, GIF and animated GIF, WebP, AVIF, HEIC and HEIF, TIFF, BMP, ICO, TGA, PNM (PBM, PGM, PPM), QOI, JPEG 2000, OpenEXR, Radiance HDR |
| Camera RAW | DNG and the RAW formats of the cameras rawler supports, among them Canon CR2, CR3 and CRW, Nikon NEF and NRW, Sony ARW, SR2 and SRF, Fujifilm RAF, Olympus ORF, Panasonic RW2, Pentax PEF, Samsung SRW, Sigma X3F and Hasselblad 3FR |
| Drawings | SVG and compressed SVG (.svgz) |
| Text | Markdown (.md, .markdown), with tables, task lists and syntax-highlighted code |
| PDF export | PDF, optionally flattened, encrypted with AES-256 or with images reduced to 150 dpi; or each page as PNG, JPEG, WebP or OpenEXR, or all pages as one TIFF, at 72 to 600 dpi |
| Image export | PNG, JPEG, WebP, TIFF, BMP, TGA, QOI, PPM, OpenEXR; SVG and Markdown export as pictures in the same formats |
| Metadata | EXIF, ICC color profiles and XMP kept through edits in JPEG, PNG, WebP and TIFF; keywords and descriptions saved to JPEG, PNG and WebP; location removable |
| Never written | HEIC, AVIF and camera RAW open only; edits to them are exported to another format |
PDF features
| Views | Continuous, single page, two pages side by side; fit page, fit width, actual size, zoom from 10% to 1,600% |
|---|---|
| Navigation | Page thumbnails, table of contents, highlights and notes, bookmarks, search with every match highlighted, links, slideshow |
| Markup | Highlight, underline, strikethrough; sketch, draw; rectangle, rounded rectangle, oval, line, arrow, star, polygon, speech bubble, loupe, mask; text boxes, with bold, italic and colored parts, and notes. Saved as standard PDF annotations |
| Forms | Text fields, checkboxes, radio buttons, drop-down menus |
| Signatures | Drawn, typed in a handwriting font, or imported from a photo or scan; kept in a library and placed as images |
| Pages | Reorder, rotate, delete, crop, insert blank pages or other PDFs, copy and paste between documents with their annotations and form fields |
| Redaction | Removes the text, image pixels and drawings under each mark and rewrites the file, so no earlier revision keeps them |
| Saving | Automatic, in place, with the original kept as a version; annotations saved incrementally |
| Printing | The desktop's print dialog on Linux, through its XDG portal and CUPS; Windows' print dialog; the macOS print panel. PDFs print with their markup and fields, images as exported, Markdown on light Letter or A4 pages, by the system's region |
Languages
| Interface | 38 languages: Arabic, Bengali, Catalan, Chinese (Simplified and Traditional), Czech, Danish, Dutch, English (US and UK), Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Malay, Norwegian (Bokmål), Persian, Polish, Portuguese (Brazil and Portugal), Romanian, Russian, Spanish, Swahili, Swedish, Tamil, Thai, Turkish, Ukrainian, Urdu, Vietnamese |
|---|---|
| Right to left | Arabic, Hebrew, Persian and Urdu lay out right to left inside panels, dialogs and menus |
| Choosing | Follows the system's language, or the one chosen in Settings |
| Translations | One Fluent file per language; the translations other than English are first drafts open to further review |
Input
| Keyboard | Shortcuts for every main action, with ⌘ on macOS and Ctrl elsewhere; changeable in the settings file, for every system or for one |
|---|---|
| Typing | Text fields follow the system's keyboard layout and input methods; an empty field starts on the side the input language reads from, taken from the keyboard layout on Linux, the input language on Windows and the input source on macOS |
| Pointer | Mouse and touchpad: smooth scrolling, Ctrl+scroll (⌘+scroll on macOS) to zoom around the pointer, dragging to pan, select and draw |
| Signing | Mouse, touchpad, pen or touch in the signature pad |
| Drag and drop | Both ways on Linux (Wayland), Windows and macOS: pictures, text, files and pages in, with Ctrl (Control on macOS) sending a drop to the sidebar; text, areas, pages and images out, with Shift (or Command) to move pages |
| Clipboard | Text, images, files copied in the file manager, and pages between prev windows; wl-clipboard on Linux |
| Accessibility | Keyboard focus with Tab and Shift+Tab; follows the system's reduced motion setting |
Assistant and agents
| Cloud models | Anthropic, OpenAI and Google Gemini, with your own API key; prev lists the provider's chat models and suggests Claude Sonnet 5.5, GPT-5.6 or Gemini 3.8 Flash. Keys are kept in the system keychain, once per provider |
|---|---|
| Local models | Ollama, found at localhost:11434, with each model's tools, vision and context shown, and qwen3.8 suggested; OpenAI-compatible servers, found at LM Studio's localhost:1234, llama.cpp's localhost:8080 or vLLM's localhost:8000; or a server at any address, on this computer or another |
| What a model needs | Tool calling. Seeing pictures is optional: a model without it gets the page's text instead of a picture of it. For Ollama, the context is set per model |
| What it can do | The same 46 tools agents use, below, without asking again, as you asked for them, except before printing; each change it makes is one step of Undo |
| MCP server | prev --mcp, over standard input and output, for Claude Code (claude mcp add prev -- prev --mcp) or any MCP client. It drives the prev you are using, starting it if needed; nothing listens on the network |
| Access | prev asks before letting a new agent in, and remembers Allow; Settings lists allowed agents, and Allow outside control turns agents off |
| Read (12) | list_windows, document_info, page_text, search, current_view, list_annotations, form_fields, list_signatures, render_page, render_image, get_image, list_printers |
| View (11) | open_file, focus_window, go_to_page, scroll_to, set_zoom, set_view_mode, point_at, show_panel, hide_panel, set_window, close_window |
| Markup (7) | highlight, add_note, add_text_box, add_shape, edit_annotation, delete_annotation, add_redaction |
| Edit (12) | rotate_pages, delete_pages, move_pages, insert_blank_page, crop_pages, fill_field, place_image, crop, rotate, resize, adjust_color, replace_image |
| Sign, redact, export, print (4) | place_signature, apply_redactions, export, print, which prints without the dialog, some pages or copies if asked |
| Asking first | A switch for each kind above; signing and applying redactions ask at first, as Undo cannot take them back, and printing, as it spends paper, for the assistant too |
Technology
| Language | Rust, edition 2024, Rust 1.95 or newer to build |
|---|---|
| Interface | iced 0.14 with wgpu, and tiny-skia for drawing on the CPU |
| PDF engine | MuPDF 1.27, through the mupdf crate |
| Images | The image crate; rawler for camera RAW; libheif with libde265 and aom's AV1 decoder for HEIC and AVIF |
| SVG and Markdown | resvg; pulldown-cmark with syntect for highlighting |
| Translations | Project Fluent |
| AI agents | An MCP server, prev --mcp, on standard input and output, through rmcp; it relays to the running prev over a private local socket (a named pipe on Windows), with JSON-RPC 2.0 |
| Assistant | rig-core, pinned and kept to one crate (prev-assist), for Anthropic, OpenAI, Google Gemini, Ollama and OpenAI-compatible servers; API keys in the system keychain through keyring (the Secret Service on Linux, the Credential Manager on Windows, the Keychain on macOS) |
| Fonts | Roboto Flex, Material Symbols Rounded and Dancing Script, bundled |
| System integration | XDG desktop portals on Linux; Win32 and OLE on Windows; AppKit and Launch Services on macOS, with a menu bar through muda |
| Dependencies | All open source, with licenses checked by cargo-deny in CI; GPL-2.0-only is refused |
Performance
Measured on Linux with a release build, an RTX 4080 SUPER and a 3840 × 1080 display at 120 Hz.
| Measure | Target | Measured |
|---|---|---|
| Start to window | under 150 ms | about 230 ms, 200 ms of it Vulkan setup |
| Open a PDF to its first page drawn | under 100 ms | 20 ms for 499 pages, 93 ms for 7,025 pages |
| Scroll and zoom | 60 fps without dropped frames | 120 fps, no slow frames |
| Memory with one 100-page PDF open | under 150 MB | 61 MB heap, 179 MB resident with GPU drivers |
| Program size | under 60 MB, with everything it needs inside | 58.3 MB, 52.4 MB without camera RAW |
Pages render in tiles on background threads, with a 128 MB tile cache. On the CPU renderer prev scrolls at about 60 fps and zooms at about 30 fps.
Settings and data
| System | Settings | Signatures, versions and bookmarks |
|---|---|---|
| Linux | ~/.config/prev.toml | ~/.local/share/prev |
| Windows | %APPDATA%\prev\prev.toml | %APPDATA%\prev |
| macOS | ~/Library/Application Support/prev/prev.toml | ~/Library/Application Support/prev |
The Flatpak keeps its own under ~/.var/app/run.prev.Prev.
License and privacy
| License | GNU AGPL-3.0 or later, as MuPDF requires; the bundled fonts keep their own licenses (SIL Open Font License 1.1, Apache 2.0) |
|---|---|
| Source | github.com/scrambletools/prev |
| Network | None of its own: prev goes online only to fetch a picture dropped onto it as a web address, to open links you click, and, when you use the assistant, to talk to the model you added. No accounts, no telemetry |
| AI agents | Only those you allow, through prev --mcp; no bundled model. What an agent reads goes to the model it uses |
| Assistant | Talks only to the model you add: a local model stays on your computer, and a cloud model gets what it asks to read, never the whole file up front. API keys stay in the system keychain |
| Code signing | Windows releases are signed by Scramble Tools LLC since 2.2.1, and macOS releases since 2.3.0, notarized by Apple; see the code signing policy |