No description
Find a file
2025-07-15 19:18:44 -04:00
libmagic-odin vendor libmagic 2025-07-12 11:34:19 -04:00
sump vendor sump for allocation tracking in debug builds 2025-07-12 11:55:42 -04:00
config.ini move binds.ini to config.ini, add option to invert mouse zoom direction 2025-07-12 13:38:22 -04:00
FiraCode-Regular.LICENSE add license for FiraCode 2025-07-12 11:49:05 -04:00
FiraCode-Regular.ttf initial 2025-07-12 11:20:45 -04:00
key_binding.odin early work on refactoring key bindings 2025-07-15 19:18:44 -04:00
LICENSE initial 2025-07-12 11:20:45 -04:00
main.odin early work on refactoring key bindings 2025-07-15 19:18:44 -04:00
README.md Update README.md 2025-07-12 13:38:51 -04:00
screenshot.png add screenshot 2025-07-12 11:27:23 -04:00

iv - image viewer

This repo contains an in-development simple image viewer. As development is ongoing, many things are subject to change. Below is a brief rundown of the project.

Current features:

  • Currently supports JPG and PNG files. This limitation is for keeping early development simple. More formats to come later.
  • Uses a modal input style akin to vim. Keys can be rebound in config.ini. These binds are loaded at runtime. Key designations must match the corresponding variant in Raylib's KeyboardKey enum. (See included config.ini for examples).
  • Features on-screen key hints that can be toggled on or off. The hints font can be set at compile time with -define:FONT=<font_file>. OTF and TTF are supported. FiraCode-Regular is provided as a fallback font.
  • Scaling actions include automatic best fit, automatic fill (with cropping), fit to image width or height, and manual zooming in/out.
  • Movement keys for adjusting image position within the window.
  • Mouse panning/zooming.

Planned features:

  • Configurable background/text color for keybind hints.

Possible future features (TBD):

  • Open directory/multiple files with key actions to cycle through files.
  • Support for animated images (GIF).
  • Image rotation.

If you decide to try this software and encounter any bugs and/or interface pain points, please feel free to open an issue here.

Screenshot:

screenshot