/ImageViewer

An ultra-minimalistic image viewing program for Windows built with C and SDL2

Primary LanguageCThe UnlicenseUnlicense

"ImageViewer" is an ultra-minimalistic image viewing program for Windows built with C and SDL2 by Introscopia in 2020, latest updade: 2023-09-09
https://introscopia.github.io/
introscopia@protonmail.com

> [🡆/🡄 Arrow keys] Navigate to next/previous images in the same folder.
> [Mouse side buttons (mouse X1 and X2)] Also navigate to next/previous images in the same folder.

> [Click&Drag] Pan around.
> [MIDDLE Click&Drag] Pan around relative to initial mouse location.
> [ H,J,K,L ] Pan around vim-style. (panning is reversed. You move the "camera", not the image)
> [🡅/🡇 Arrow keys] pan up and down.
> NUMPAD:
	> [ 8, 2, 4, 6 ] Pan around. 
	> [ 7, 9 ] rotate the image in increments of 90 degrees.
	> [ 1, 3 ] next and previous image in the folder.
	> [ 5, 0, +, - ] zoom in and out.
	> [ / ] flip horizontally.
	> [ * ] flip vertically.

> [Mouse Wheel] Zoom in/out.
> [I] Zoom in
> [O] Zoom out
> [CTRL + Click&Drag] select area to zoom into.
> [1...9] to set zoom.
> [spacebar] Fit image to window.

> [A] to cycle through scale quality options:
	0: Nearest pixel sampling
	1: linear filtering
	2: anisotropic filtering (default)
> [C] to cycle through background colors.

> [F11] toggle fullscreen.
> [F5] reload the file, refresh the list of files in the folder.

> [SHIFT + DELETE] permanently delete image (skips recycle bin!!!)

Enjoy!