Page 1 of 1

SDL2 (image/display/media library) bindings for MicroPython

Posted: Mon Aug 27, 2018 8:36 pm
by pfalcon
Now available in micropython-lib: https://github.com/pfalcon/micropython- ... ster/usdl2 and on PyPI: https://pypi.org/project/micropython-usdl2/ .

SDL2 homepage is https://www.libsdl.org/
"Simple DirectMedia Layer is a cross-platform software development library designed to provide a hardware abstraction layer for computer multimedia hardware components." says Wikipedia.

The bindings are far from complete, primary usecase is being able to display images (framebuffers). There's an example in micropython-lib.

Re: SDL2 (image/display/media library) bindings for MicroPython

Posted: Sat Sep 01, 2018 8:41 am
by pfalcon
Initial SDL_Image bindings were added too: https://github.com/pfalcon/micropython- ... sdl2_image

Re: SDL2 (image/display/media library) bindings for MicroPython

Posted: Wed Sep 12, 2018 10:19 pm
by pfalcon
(Subset of) "framebuf" module for Unix port developed using SDL bindings: https://github.com/pfalcon/micropython- ... r/framebuf

All of these modules are experimental.