Image Viewer

View, zoom, and pan images directly inside Omnilib, with source editing for SVG files.

Opening an image file in Omnilib launches the built-in image viewer. Supported formats are PNG, JPG, JPEG, SVG, GIF, and WebP.

When the viewer opens, Omnilib fits the image to the available viewport automatically so you see the full image without scrolling.

Zoom in and out

  • Scroll the mouse wheel to zoom in and out.
  • On a trackpad, use a pinch-to-zoom gesture.

Pan

  • Click and drag to pan around the image when zoomed in.

The viewer does not have explicit zoom controls in the toolbar — scroll and drag are the primary interactions.

SVG files

SVG files open in the image viewer by default, showing the rendered graphic. To inspect or edit the underlying XML source, right-click the file in the sidebar and select Open as code. This opens the SVG in the text editor so you can view and modify the markup directly.

You can also switch between the rendered view and the code view from the viewer toolbar when an SVG is open.

Tips

  • To compare two images, open each in a separate panel using Open in new panel from the file tree context menu.
  • Very large raster images (above several thousand pixels in either dimension) may render at reduced quality at low zoom levels to keep the viewer responsive. Zoom in to see full detail.