Commit Graph

5 Commits

Author SHA1 Message Date
kraus 595b34d6dc fix compiler warnings #1802 2022-03-04 07:46:16 +01:00
olikraus e30600288e fixed memory bug in u8x8_d_bitmap.c 2017-11-19 11:36:58 +01:00
Matthijs Kooijman 5cdd09dfa6 Issue #340, add cimg_annotate_screenshot example
CImg is a lightweight, header-only image processing library. The
makefile automatically makes a git clone of this library when building.

This example shows how to capture a screenshot using the bitmap device,
convert it to a CImg bitmap, scale it, add (in a higher resolution than
the original screenshot) annotations and write out a PNG file.

This is a reduced version of a bigger program, so it might be a bit more
complicated that needed just for the example.
2017-09-08 23:32:48 +02:00
Matthijs Kooijman 094a13c255 Issue #340, add bitmap/hello_world example
This example uses the Bitmap device to draw to an in-memory buffer
and writes the result to a TGA file. This can for example be used to
make screenshots of an application normally running on an Arduino.
2017-09-08 23:32:40 +02:00
Matthijs Kooijman 4bfdfb5492 Issue #340, move bitmap code into sys/bitmap
It was previously in `sdl/bitmap`, but it was not really tied to SDL
(other than that one example from sdl used the bitmap code).
2017-09-08 23:32:27 +02:00