aaaaaa123456789 / libplum

Image-handling library that allows reading and writing common image file formats
The Unlicense
11 stars 6 forks source link

Add examples of `PLUM_MODE_BUFFER` and `PLUM_MODE_CALLBACK` to the tutorial #13

Open Rangi42 opened 7 months ago

Rangi42 commented 7 months ago

These load/store modes require passing passing their actual data in one-off structs instead of a filename. I think they're complex enough to deserve some brief example programs, particularly callbacks (even if the callback is a trivial wrapper around handling a file or buffer, just for demo purposes).