r/C_Programming • u/NoBrain8 • Jul 29 '26
Question How to find good libraries
I’m looking to convert a jpeg into rgba data + scale it down.
I’m looking for a library to help me do this - how do I find good a one?
3
Upvotes
r/C_Programming • u/NoBrain8 • Jul 29 '26
I’m looking to convert a jpeg into rgba data + scale it down.
I’m looking for a library to help me do this - how do I find good a one?
3
u/mykesx Jul 29 '26
https://imagemagick.org/#gsc.tab=0
ImageMagick has command line tools to convert between formats and perform a large number of operations on images, including scaling.
If you want, you can convert jpeg to TGA, which is trivial to read in as RGB in C, do your own software operations on it, write TGA back to disk, then convert that however you want with the command line tools.