Skip to content

SharpViewer is an image viewing extension that replaces the viewer built into the browser. It offers interactive zooming via mouse wheel, drag-and-pan functionality, and changing interpolation modes for pixel-perfect image reproduction.

License

Notifications You must be signed in to change notification settings

Digit404/SharpViewer

Repository files navigation

SharpViewer

SharpViewer is an image viewer extension that replaces the default browser image viewer with a more powerful and interactive one.

Features

  • Fit by default: Images are scaled to fit your browser window automatically.
  • Customizable Settings: Configure the default view mode, background color, and checkerboard background from the extension's options page.
  • Interactive Zooming: Use the mouse wheel to zoom in and out.
  • Drag-and-Pan: Click and drag to pan around.
  • Interpolation Modes: Switch between smooth and nearest-neighbor rendering. Perfect for viewing pixel art.
  • Keyboard Shortcuts: Quick access to various features.
  • SVG Support: Finally view SVGs like you would any other image.
  • Reddit Image Support: Works in the Reddit image viewing wrapper.

Keyboard Shortcuts

  • Space: Toggle between Fit and Actual view
  • 0: Fit image to screen
  • 1: View image at actual size
  • 2: Fill screen with image
  • 3: Smart fit
  • + / -: Zoom
  • P: Toggle interpolation (pixelated/smooth)
  • B: Toggle checkerboard background
  • Ctrl+C: Copy image to clipboard
  • Ctrl+Shift+C: Copy image link to clipboard
  • H / V: Flip image
  • /: Show keybinds

Mouse Controls

  • Scroll: Zoom in/out
  • Left-click and drag: Pan image
  • Single left-click: Toggle between Fit and Actual view

About

SharpViewer is an image viewing extension that replaces the viewer built into the browser. It offers interactive zooming via mouse wheel, drag-and-pan functionality, and changing interpolation modes for pixel-perfect image reproduction.

Topics

Resources

License

Stars

Watchers

Forks