Navigation C API Pages Python bindings Applications

List of examples

Following pages contains a list of all code examples, the source files could be found and are compiled in the demos/c_simple/ and demos/py_simple directories in the source tree.

Table 1. List C examples
Example Source filename(s)

SDL Glue

SDL_glue.c

Graphics Backend

backend_example.c

Backend Timers

backend_timers_example.c

2D Linear Convolution

convolution.c

Custom Debug Message Handler

debug_handler.c

Font and Text rendering

fonttest.c fileview.c

Gaussian Additive Noise Filter

gaussian_noise.c

Input Events Handling

input_example.c

Image Loader Registration

loaders_register.c

Loaders with Progress Callback

loaders.c

Showimage

showimage.c

Grabbers (v4l2) Examples

v4l2_grab.c v4l2_show.c

X11 Backend with multiple windows

x11_windows.c

Table 2. List Python examples
Example Source filename(s)

Backend Init

backends.py

Gaussian Blur Filter

blur.py

Box Blur Convolution

convolution.py

Floyd-Steinberg Dithering

dither.py

GFX Primitives

gfx.py

Progress Callback

progress_callback.py

Showimage

showimage.py

X11 backend with multiple windows

x11_windows.py