Skip to content

CharlesAverill/scope

Repository files navigation

scope

An image file viewer written in OCaml with SDL

Usage

scope image_path...

Features

Supported Formats

Custom parsers:

Using external parsers:

Controls

Function Control Description
Application Escape / Ctrl + w Exit the application
F11 Toggle fullscreen
File Operations Ctrl + o Open files
Ctrl + r Reload current file
s Show file statistics and histogram
Navigation Arrow Keys Go to next or previous image in series
Home Go to first image in carousel
End Go to last image in carousel
Image Manipulation + / - / Mouse Scroll Zoom in/out
Mouse click + drag Offset image position
Ctrl + Mouse Scroll Rotate
Shift + Ctrl + Mouse Scroll Rotate slowly
f Fit image to window
h Flip horizontally
v Flip vertically
r Reset view

Installation

opam install scope

Or, from source:

git clone https://github.com/CharlesAverill/scope.git && cd scope
opam install . --deps-only
dune build
dune install

About

OCaml Image File Viewer

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors