Image & SVG Viewing

Nib can open image files directly, not just text.

Raster images

PNG, JPEG, GIF, BMP, and WebP files open into a dedicated, read-only image tab — fit to the pane and centered, preserving aspect ratio. There’s no zoom/pan or pixel-level inspection; it’s a quick viewer, not an image editor. Because there’s no editable text underneath a binary image file, these tabs are never marked as having unsaved changes, and Save/Save As are disabled for them.

SVG

SVG files are plain-text XML, so they behave differently: an SVG opens as a normal, editable text tab (with XML syntax highlighting), and a toolbar toggle switches that tab between the raw markup and a fully rendered view of it — including any <text> elements the SVG contains. Turn the toggle off at any time to get back to editing the source.

Finder integration

Nib registers with macOS for these formats, so it appears as an option in Finder’s “Open With” menu for PNG/JPEG/GIF/BMP/WebP images and for SVG and plain-text files. It’s offered as a choice, not set as your default handler for these types.