Skip to content

morr0ne/boop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Boop - The silly image format ๐ŸŽจ

What if we made an image format that's ridiculously simple? Well, here it is! Boop just takes your pixels, does some delta encoding magic โœจ, and squishes them with zstd compression. That's literally it!

Funny thing is, it gets really close to PNG compression ratios while being super fast and simple. Sometimes the silliest ideas work out!

What's in the box? ๐Ÿ“ฆ

  • A library that makes images go boop
  • A CLI tool to convert images
  • A simple viewer built with egui/eframe to actually see what you made

How to use this silly thing

Want to convert images? First grab the tool:

cargo install --path .

Then boop away:

# Make it go boop
boop image.png

# Make it go... unboop?
boop image.boop image.png

Want to see your booped masterpiece? Get the viewer:

cargo install --path viewer

Then look at that beauty

boop-viewer image.boop

A little note

This whole thing started as a "what if?" project. It actually works pretty well, which is kind of surprising! There is probably bugs lurking around, and things might occasionally go weird, but that's part of the fun.

Feel free to contribute if you want, but remember - this is just a fun experiment. Don't take it too seriously!

Coming Up (maybe)

  • Some proper benchmarks (to prove it's not completely bonkers)
  • A real spec (once I figure out how to write one)
  • More optimizations (unlikely)
  • Integration with real software like kde and gimp (year of the linux desktop?)

License ๐Ÿ“œ

This silly project is licensed under the Apache-2.0 License. For more information, please see the LICENSE file.

Made with curiosity and probably too much caffeine โ˜•

About

๐Ÿ“ธ The silly image format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages