pics
fpnge
pics | fpnge | |
---|---|---|
12 | 4 | |
10,313 | 79 | |
0.3% | - | |
7.4 | 4.2 | |
3 months ago | about 2 months ago | |
Assembly | C++ | |
- | Apache License 2.0 |
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.
pics
- Hello, PNG
-
can’t be the only one
Using this framework, you can started with some excercises or dig into some file formats if you want something different (many file format have segments with variable length so the header will provide either offset or length which makes a good execercise for understanding pointer arithmetic).
- Binary Posters
-
How to generate an object file (and later an exe) from assembly
And this is not official, but you'll probably like it: https://github.com/corkami/pics/tree/master/binary/pe101
-
An MP4 file first draft
Author's github: https://github.com/corkami/pics
He works on things like hash collisions, image files that contain an image of their own hash, "polyglot" files and such like.
I think this is intended as a "minimum viable mp4 file" to show what the required binary parts are.
- Computing Posters
- ELF 101 a Linux Executable Walkthrough by Ange Albertini [pdf]
-
Fantastic Symbols and Where to Find Them - Part 1
ELF Executable and Linkable Format diagram by Ange Albertini
fpnge
-
png crate gets an ultrafast compression mode, up to 4x faster decompression
When the QOI format was first announced it wasn't clear that was even possible while keeping PNG format compatibility. But the fpng and fpnge C/C++ libraries showed it was, and today you can take advantage of those advances in a general purpose PNG library in Rust!
-
Hello, PNG
But most platforms these days have some form of CRC32 "acceleration". Adler32 is easy to compute so I'm even less concerned there.
I spent a bunch of time optimising the code in [fpnge](https://github.com/veluca93/fpnge), which is [often notably faster than fpng](https://github.com/nigeltao/qoir/blob/5671f584dcf84ddb71e28d...), yet checksum time is basically negligible.
Having said that, the double-checksum aspect of PNG does feel unnecessary.
- Computing Adler32 Checksums at 41 GB/s
- QOI – The Quite OK Image Format
What are some alternatives?
pdftilecut - pdftilecut lets you sub-divide a PDF page(s) into smaller pages so you can print them on small form printers.
fpng - Super fast C++ .PNG writer/reader
Plex-Movie-Poster-Display - Scraps the Plex sessions page to display the current playing movie or TV show poster on a screen.
zpaqlpy - Compiles a zpaqlpy source file (a Python-subset) to a ZPAQ configuration file for usage with zpaqd
parca-agent - eBPF based always-on profiler auto-discovering targets in Kubernetes and systemd, zero code changes or restarts needed!
php-qoi - QOI image encoder and decoder written in pure PHP
MP4Inspector - A Chrome extension to help you inspect Mp4 video content and find irregularities in video streams.
canvas_ity - A tiny, single-header <canvas>-like 2D rasterizer for C++
GpxTrackPoster - Create a visually appealing poster from your GPX tracks
tinf - Tiny inflate library (inflate, gzip, zlib)
basis_universal - Basis Universal GPU Texture Codec
figlet-fonts - my collection of figlet / toilet ascii art fonts