You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Anton Lydike ce8d9ebb24 modularized code a bit, added readme 5 years ago
images modularized code a bit, added readme 5 years ago
.gitignore cleaned code, transparency now actually working 5 years ago
README.md modularized code a bit, added readme 5 years ago
main.c cleaned up 5 years ago

README.md

images.h - Image manipulation in C

An easy to use image creation tool for C.

Features

  • Save images as .bmp bitmaps
  • Draw Rectangles, squares and circles
  • Colors with transparency
  • draw on individual pixels

Might be added later

  • draw lines
  • draw lines on a path
  • complex shapes?

Performance

While perfomance is not through the roof, creating a 4k image with a simple color gradient takes about 1.5s on a mobile ryzen 5 chip. Smaller graphics (like the transparency demo) are drawn and saved within 20ms, so that's okay, I guess...