A Terminal tool to convert images from one format to another and also remove backround, made in rust. This allows to ways one using the nice looking ineractive ui inside the terminal there is also a file explorer like selection ui for input image selection. And if u want to run in one line command u can use args.Now, there are more features like batch conversion and palette genration. The demo is release which has zip for windows tar.gz for linux just download, extract and run. The backroudnd removal is done using u2net model. U can do these image conversions in ur own pc no need to go to wierd websites just run from the terminal.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Ready to ship again now, i will not repeat the same mistake again this time. Last time, I did not add the project screenshots, or demo video. And it is kinda hard to test my project. So, this time I am attaching a demo video with this last devlog so it shows at the top and voters can see what i made.
I added batch processing to it now you can apply some changes to all images in one folder if you want. also now u can pick output dir from the explorer like ui just like for input file, also can mention path for output directory. And there is an menu in the tui to avoid cluttering. Added help/about part in the menu.
Just got the payout on first ship. Massive disappointment, but i believe this project deserve more and i will keep working on it. Worked on few bugs that were there, also added ui to pick output directory and add output path like input path. I think there was no screenshot of the file picker ui that is why i got less votes. So i added one now. hopefully, next one will be better for my project.
Added two features
One pallete generation from image
And one to strip metadata from image
Also fixed jpeg not supported issue
jpg and jpeg is same so now treated as saem
Final Devlog before first ship.
I have finished it now. Added release in github for linux and windows.
Took some time to build for release but done with patchelf. Also fixed the error handling. Instead of panicking it now gives nice messages. Errors and logs are now better, colourful with colour crate. Wrote the readme for it with instructions. This is the first time I have writtern a README this big, if it is this big i use ai generally, but this I wrote myself
Added nice interactive ui using dialoguer
A file explorer like ui in terminal to select input image
Also fixed the bg_removal issue it always fixed to 320x320 now it resizes after applying mask
Also fixed the colour to white for bg when converting transparent bg to jpg
Now trying to build for release to see if it works. As there is a model involved, there is a high chance it won't.
Added one line run functionality
Just one line in terminal and vola
Used clap crate to do this
Will now improve the command line interface when not using args
Both options are there
fINALLY I DID IT! i tried so many ways to remove backround, i tried using a model with tract crate but that was a terrible idea , complete waste of time. But then i found the right way i used the model with onnxruntime which helped me remove the backround quite easily as well. 6 hours in, I have to do 9 more for terminal-craft. Next i can add image compression features.
Spent a lot of time trying to remove backround when converting to png, what is a png without having a transparent backround. But i failed. Then i though ok lets use opencv, easy-peasy but it violates the rules of terminal-craft which say the app has to be self-sustained not rely on installing some other software, so have to find another way. There has to be another way. the only progrees since last devlog is that now the webp to png conversion. or vice-versa preserves transaparency, and also i am using clap and dailouger so now the cli ui ux is much better.
Simple conversion from png to jpg done. First project with rust. Excited to see how good the language is, there is a lot of hype about it.