HandyView, image viewer
Project description
HandyView
English | 简体中文 GitHub | Gitee码云
Handy
Series:
HandyView HandyFigure HandyCrawler HandyWriting
HandyView is a handy image viewer for convenient viewing and comparing. It is developed with PyQt5.
:sparkles: Features
- Switch among images with fixed zoom ration, which is useful when comparing image details. (Unfortunately, I cannot find such a image viewer and this is the initial motivation to develop HandyView).
- Various comparison modes.
- Show basic image information, e.g., image path, shape, size, color type, zoom ration, etc.
- Show the position and color in the current mouse cursor.
- Draw rectangles on images and show the start and end position.
:eyes: Screenshot
- Current screenshot
- Switch among images with fixed zoom ratio
- Compare images in two-column or three-column modes
- Show the position and color of the current mouse cursor
- Draw rectangles and show the start and end positions
:wrench: Usage
I have now tested it on Windows. It should also work on Ubuntu (but may with some modifications).
Option 1: Pre-compiled executable zip file
I have zipped an exe zip file with pyinstaller in the release page (Github | Gitee). You can first have a try on it.
- Unzip the file
- Set HandyView as the default image viewer, so that you can double-click the image to open HandyView.
Option 2: Python environment
- Anaconda (Python >= 3.5)
-
Clone repo
git clone https://github.com/xinntao/HandyView.git
-
Install dependent packages
cd HandyView pip install -r requirements.txt
In the command line, run:
python handyview/handyviewer.py [image_path]
Option 3: Python environment + Compile to executable program
Use pyinstaller
to compile to executable program, so that you can double-click the image to open the HandyView.
-
pyinstaller -D handyview/handyview.py -i icon.ico --windowed
- You will see a
dist
folder containing the outputs (dll, exe, etc) - Copy necessary files to the
dist
foldercp -r icons dist/handyviewer/
cp icon.png dist/handyviewer/
cp icon.ico dist/handyviewer/ - Choose the
dist/handyview/handyviewer.exe
as the default image viewer.
I used the early version of HandyView on Ubuntu. The current version is not tested on Ubuntu and may be out-of-date.
- Clone this repo
git clone git@github.com:xinntao/HandyView.git
- How to double click to open an image
- Modify the HandyView.desktop file - Exec & Icon
- Copy the .desktop file to
/usr/share/applications
- How to change the default image viewer
- Right click an image
- Go to
Properties
->Open With
- Choose HandyView
:book: Document (On the way)
The basic operation (such as shortcut keys) could be found in the Help button in the toolbar.
:hourglass_flowing_sand: TODO list
- preview mode
- show zoom info for each folder (store in database)
- drag together in the multi-view comparison mode
Editing operation
- Simple image edit: crop, resize, color conversion, etc
- Draw rectangular and enlarged the area
- Make GIF easily
:books: References
:scroll: License and Acknowledgement
This project is released under the MIT license.
Icons
I have used the icons from flaticon. The following are the source links.
Icon | Link | Icon | Link | Icon | Link |
---|---|---|---|---|---|
Open | History | Refresh | |||
Index | Include | Exclude | |||
Compare | Clear comparison | Help | |||
Main canvas | Compare canvas | Preview canvas | |||
Fingerprint | Auto Zoom |
(pip install pyqt5 -i http://mirrors.xxx.com/pypi/simple/ --trusted-host mirrors.xxx.com)
:e-mail: Contact
If you have any question, please open an issue or email xintao.wang@outlook.com
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for handyview-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c44d85896b03d1c0436aff7a7c7a8196b401b253cfa4a97fbeafca99f7d88f6b |
|
MD5 | e7ac8ed9b3aa17880e50ba1fe862528d |
|
BLAKE2b-256 | ac6f9654c812218bf80a0b485a0589a553e634f9c31d2e23daaedb958318c5df |