README.md
April 29, 2026 · View on GitHub
CImGui Zoomable Image
This project introduces C API for Dear Imgui Zoomable Image Display(ImGuiImage) to use it with other languages1 and a simple demo program in C.
Try Wasm live demo in your browser
Click link for live demo: Click here

See Wasm example in Nim: glfw_opengl3_imgui_zoomable_image
Prerequisites
-
Windows OS 11 or later
-
Install MSys2/MinGW (Windows OS)
-
Install packages
pacman -S mingw-w64-ucrt-x86_64-{gcc,glfw,pkg-config} make
-
-
Linux: Ubuntu / Debian families
-
Install packages
$ sudo apt install gcc lib{opengl-dev,gl1-mesa-dev,glfw3-dev} make pkg-config
-
Build and run
-
Download this project.
git clone --recursive https://github.com/dinau/cimgui_zoomable_image -
Go to demo with CImGui folder
cd cimgui_zoomable_image/demo/cimui make run -
Go to demo with Dear Bindings folder
cd cimgui_zoomable_image/demo/dcimui make run
Footnotes
-
Zig, Nim, Nelua, etc ↩