gifdec
stb
Our great sponsors
gifdec | stb | |
---|---|---|
1 | 93 | |
152 | 18,839 | |
- | - | |
2.9 | 7.3 | |
6 months ago | 18 days ago | |
C | C | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gifdec
-
Decoding GIF with C?
If it helps you, here is some actual code, which I find too complicated.
stb
- How to load an image in cpp, alter it and output a new image?
-
img visualiser in C
You need a library for loading different image formats into your program. stb_image is a popular one. You're gonna need to know pointers to use it.
-
Meaning of these constants in DWM's source code
with that, back in my text/font experimenting days I was able to read in the utf-8 stresstest: https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt and combine with https://github.com/nothings/stb/blob/master/stb_truetype.h and a font file like DroidSans.ttf to produce a .png like https://ibb.co/59JCmnF (sorry if thats a crap image host, its the first one google suggested)
-
I want to make a program that draws a graphical function to a png and I don't know how.
https://github.com/nothings/stb. specifically stb_image_write.h. This is a "library" (it's 1 file) which allows you to take an array of pixels and encode it as a PNG, if this is what you're looking for.
-
What's the GLB file format?
Replace libpng and png++ with an embedded copy of stb_image.h. Honestly, libpng is neither great nor well-maintained. (Case in point: The main website still doesn't support HTTPS despite hosting security-sensitive information and hosting critical source code. All the download links are still shitty SourceForge redirects.)
-
After 3 months I've graduated from Python and am moving on to learning C. Can I get some recommendations for open source C code that is very well written and composed as reading material?
Take a look at this. It's basically a well known dev who rewrote a lot of the std libs in a reasonable way. A good place to start. https://github.com/nothings/stb
- Is it me or is C++ on an Arduino abstracted to the point where it's basically a scripting language?
- How to impement an array whose size is variable during run-time (depending on how much data the user requests)?
-
Are there any good c examples?
You can try using stb libraries in C (https://github.com/nothings/stb) for a dynamic array (equivalent to std::vector) and a hash map implementation (akin to std::unordered_map, although it's not ordered like std::map) in stb_ds.h. I'm suggesting this because many tutorials already use stb for utilities for image loading so chances are you already have it at your fingertips and it's nice to use.
-
2D image packing
This is an ad hoc implementation for packing png pictures for printing. What this does is it take a png size like 300x300 and outputs an 300 DPI A4 with that input picture. You can specify how many copies it should make. Example pprint input1.png 5 input2.png -o o.png creates 5 copies of input1.png, 1 copies of input2.png and outputs o.png as 300 DPI A4. Rotation is not implemented. This makes use of https://github.com/nothings/stb/blob/master/stb_rect_pack.h for packing rectangles.
What are some alternatives?
freetype-gl - OpenGL text using one vertex buffer, one texture and FreeType
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Vcpkg - C++ Library Manager for Windows, Linux, and MacOS
ImageMagick - 🧙♂️ ImageMagick 7
ZXing - ZXing ("Zebra Crossing") barcode scanning library for Java, Android
wuffs - Wrangling Untrusted File Formats Safely
rotate - [WIP] static typed programming language that compiles to vm bytecode
Cppcheck - static analysis of C/C++ code
ZBar - Clone of the mercurial repository http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar
Serial Communication Library - Cross-platform, Serial Port library written in C++
UNITS - a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.
Better Enums - C++ compile-time enum to string, iteration, in a single header file