Credits to face-hh for the original coding. I just modified it.
Uhhh, I wanted to made a file format for an image cuz why not.
-
Download the repo /
git clone
it. -
Open a command prompt in the directory /
cd viv
-
Run
cargo run compile
followed by apath/to/image.png
to compile PNG to VIV. Example:cargo run compile C:\Uses\User\Downloads\image.png
-
Run
cargo run
followed by apath/to/image.viv
to show the image
- Double-click on
image.viv
using your File Explorer. - Click on
More Apps
- Click on
Choose app from this PC
Tip: tick "Always use this app to open .viv files"
- Type the
path/to/this/project
. - Select
viv.exe
inside this folder.
That's it! You can now open .viv
files!
⚠ The PNG > VIV won't work unless you have the same file (i.e. image.png) but with the .viv extension (i.e. image.viv). What do you have to do? Create an empty file called image.viv
.
- 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