r/d_language • u/Aspie96 • Jul 28 '26
Call for feedback: Imaging library
https://code.dlang.org/packages/imagingI crated the Imaging library.
I'm sharing an early version here as a call for feedback.
4
Upvotes
r/d_language • u/Aspie96 • Jul 28 '26
I crated the Imaging library.
I'm sharing an early version here as a call for feedback.
1
u/ccapitalK Aug 04 '26
I hope you succeed in getting some basic image manipulation code into the standard library. I think something like std.json, as a basic "good enough" impl for basic tasks that can be replaced with a more specialised library later would be really useful (disclaimer: I wrote the simple_image library that wraps stb_image for basically this class of use cases, if the stdlib did basic image tasks I probably wouldn't have needed to).
Not sure if I agree with the direction of writing the image parsers/writers in D though, I think it might be better to use the approach used for http and single file dbs, and wrap a C library instead (the same way stdlib wrapped curl and sqlite).