Flags: -c; --cli - render image in console -f; --filename - filename
./p-img.sh -f "example1.pimg"
./p-img.bat -f "example1.pimg"
- Python3
- py3: PyQt5
- py3: colorama
- py3: os
- py3: sys
- py3: argparse
- py3: re
Just type these commands in order:
git clone https://github.com/Se1d228/p-img
cd p-img
sudo cp p-img.sh /bin/
sudo cp p-img.py /bin/
sudo cp logo.png /bin/
sudo ln -s /bin/p-img.sh /bin/p-img
chmod +x /bin/p-img.sh
Do exactly same as in /bin method, but replace "/bin" with "/usr/local/bin"
- Clone this repository:
git clone https://github.com/Se1d228/p-img
- Remember your git clonned directory (I will mark it as
/path/to/p-img
) and start edit ~/.bashrc file troughsudo vi ~/.bashrc
orsudo nano ~/.bashrc
and write following line to file:
alias p-img="/path/to/p-img.sh"
- type this in CMD:
git clone https://github.com/Se1d228/p-img
- Create shortcut for p-img.bat. Name it "p-img"
- Put this shortcut in
C:\Windows\System32
Now you can run it with "p-img " trough CMD or Win+R menu
- CLI mode is not fully tested yet, run
p-img -c -f example2.pimg
to open CLI images
P-IMG project © 2025 by Se1d228 is licensed under CC BY-NC-SA 4.0