https://github.com/dinau/cimgui_zoomable_image
C wrapper library for imgui_zoomable_image project (https://github.com/danielm5/imgui_zoomable_image)
https://github.com/dinau/cimgui_zoomable_image
bindings cimgui dear image imgui lua nelua nim wrapper zig zoomable
Last synced: 12 days ago
JSON representation
C wrapper library for imgui_zoomable_image project (https://github.com/danielm5/imgui_zoomable_image)
- Host: GitHub
- URL: https://github.com/dinau/cimgui_zoomable_image
- Owner: dinau
- License: mit
- Created: 2026-04-10T13:54:13.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-29T02:16:58.000Z (about 2 months ago)
- Last Synced: 2026-04-29T04:24:55.241Z (about 2 months ago)
- Topics: bindings, cimgui, dear, image, imgui, lua, nelua, nim, wrapper, zig, zoomable
- Language: C++
- Homepage:
- Size: 8.68 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
- [CImGui Zoomable Image](#cimgui-zoomable-image)
- [Try Wasm live demo in your browser](#try-wasm-live-demo-in-your-browser)
- [Prerequisites](#prerequisites)
- [Build and run](#build-and-run)
- [Demo program](#demo-program)
### CImGui Zoomable Image
---
[^langs]: Zig, Nim, Nelua, etc
This project introduces C API for [Dear Imgui Zoomable Image Display(ImGuiImage)](https://github.com/danielm5/imgui_zoomable_image) to use it with other languages[^langs] and
a simple demo program in C.
- Link
[Dear ImGui](https://github.com/ocornut/imgui)
[CImGui](https://github.com/cimgui/cimgui)
[Dear Bindings](https://github.com/dearimgui/dear_bindings)
#### Try Wasm live demo in your browser
---
Click link for live demo: [Click here](https://dinau.github.io/cimgui_zoomable_image/wasm/)

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