Blazingly rapid uncompressed harebrained Image File Format.
Also known as BRUHIFF or BRUH.
-
Download the repo /
git clone
it. -
Open a command prompt in the directory /
cd bruh
-
Run
cargo run compile
followed by apath/to/image.png
to compile PNG to BRUH. Example:cargo run compile C:\Uses\User\Downloads\image.png
-
Run
cargo run
followed by apath/to/image.bruh
to show the image
- Double-click on
image.bruh
using your File Explorer. - Click on
More Apps
- Click on
Choose app from this PC
Tip: tick "Always use this app to open .bruh files"
- Type the
path/to/this/project
. - Select
bruh.exe
inside this folder.
That's it! You can now open .bruh
files!
⚠ The PNG > BRUH won't work unless you have the same file (i.e. image.png) but with the .bruh extension (i.e. image.bruh). What do you have to do? Create an empty file called image.bruh
.
- Preview window width & height are not exact.
- Huge file size on large images.
- Slow preview window.
- Some large images might include
#0
hex which will crash the program. - No transparency.
- Only works on Windows