Skip to content

Commit 1db6080

Browse files
committed
2025-03-27 release
- Got rid of C-runtime, it's 100% SDL3 now - no more nested functions - No more surface rendering. You can't mix rendering APIs in SDL3 anymore. This required a major refactor. - Since I was refactoring, went ahead and added support for multi-image viewing with SDL3's drag & drop events.
1 parent 17444db commit 1db6080

8 files changed

Lines changed: 792 additions & 1035 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,4 @@ ImageViewer icon.xcf
207207
ImageViewer.zip
208208
ImageViewer.zip
209209
ImageViewer.zip
210+
\#RH put in the icon.bat

README.txt

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
1-
"ImageViewer" is an ultra-minimalistic image viewing program for Windows built with C and SDL2 by Introscopia in 2020, latest updade: 2023-09-09
1+
"ImageViewer" is an ultra-minimalistic image viewing program
2+
for Windows originally built with C and SDL2 by Introscopia in 2020.
3+
This latest (2025-03-23) update brings this little program to SDL3 and to 64 bits!
4+
It supports webp again, animations and now sports multi-image capabilities:
5+
Just drag-and-drop image files onto the window!
6+
27
https://introscopia.github.io/
38
introscopia@protonmail.com
49

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

813
> [Click&Drag] Pan around.
9-
> [MIDDLE Click&Drag] Pan around relative to initial mouse location.
10-
> [ H,J,K,L ] Pan around vim-style. (panning is reversed. You move the "camera", not the image)
14+
> [Drag&Drop] image files onto the window to view them together!
15+
> [MIDDLE Click&Drag] Pan around relative to initial mouse press location.
1116
> [🡅/🡇 Arrow keys] pan up and down.
17+
18+
> [ H,J,K,L ] Pan around vim-style. (panning is reversed. You move the "camera", not the image)
19+
> [I, O] Zoom in, out
20+
1221
> NUMPAD:
1322
> [ 8, 2, 4, 6 ] Pan around.
1423
> [ 7, 9 ] rotate the image in increments of 90 degrees.
@@ -18,20 +27,20 @@ introscopia@protonmail.com
1827
> [ * ] flip vertically.
1928

2029
> [Mouse Wheel] Zoom in/out.
21-
> [I] Zoom in
22-
> [O] Zoom out
2330
> [CTRL + Click&Drag] select area to zoom into.
2431
> [1...9] to set zoom.
2532
> [spacebar] Fit image to window.
2633

2734
> [A] to cycle through scale quality options:
28-
0: Nearest pixel sampling
29-
1: linear filtering
30-
2: anisotropic filtering (default)
35+
NEAREST,
36+
LINEAR,
37+
PIXELART (coming soon!)
3138
> [C] to cycle through background colors.
3239

3340
> [F11] toggle fullscreen.
3441
> [F5] reload the file, refresh the list of files in the folder.
42+
> [F6] rebuild the list of files including images in subfolders down to 9999 levels deep.
43+
> [S] shuffle the file list
3544

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

0 commit comments

Comments
 (0)