han

handyview

Handy image viewer based on PyQt5. Convenient for viewing and comparing :-)

Showing:

Popularity

Downloads/wk

0

GitHub Stars

108

Maintenance

Last Commit

2mos ago

Contributors

2

Package

Dependencies

2

License

MIT License

Categories

Readme

icon HandyView

English | 简体中文GitHub | Gitee码云

Handy Series:

HandyView Icon HandyViewHandyFigure Icon HandyFigureHandyCrawler Icon HandyCrawlerHandyWriting Icon HandyWriting


HandyView is a handy image viewer for convenient viewing and comparing. It is developed with PyQt5.

✨ 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.

👀 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

🔧 Usage

I have now tested it on Windows. It should also work on Ubuntu (but may with some modifications).

Windows

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.

  1. Unzip the file
  2. 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)
  1. Clone repo

    git clone https://github.com/xinntao/HandyView.git
    
  2. 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.

  1. pyinstaller -D handyview/handyview.py -i icon.ico --windowed

  2. You will see a dist folder containing the outputs (dll, exe, etc)
  3. Copy necessary files to the dist folder

    cp -r icons dist/handyviewer/
    cp icon.png dist/handyviewer/
    cp icon.ico dist/handyviewer/

  4. Choose the dist/handyview/handyviewer.exe as the default image viewer.

Ubuntu

I used the early version of HandyView on Ubuntu. The current version is not tested on Ubuntu and may be out-of-date.

  1. Clone this repo git clone git@github.com:xinntao/HandyView.git
  2. How to double click to open an image
    1. Modify the HandyView.desktop file - Exec & Icon
    2. Copy the .desktop file to /usr/share/applications
  3. How to change the default image viewer
    1. Right click an image
    2. Go to Properties -> Open With
    3. Choose HandyView

📖 Document (On the way)

The basic operation (such as shortcut keys) could be found in the Help button in the toolbar.

⏳ 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

📚 References

📜 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.

IconLinkIconLinkIconLink
OpenOpenHistoryHistoryRefreshRefresh
IndexIndexIncludeIncludeExcludeExclude
CompareCompareClear comparisonClear comparisonHelpHelp
Main canvasMain canvasCompare canvasCompare canvasPreview canvasPreview canvas
FingerprintFingerprint

📧 Contact

If you have any question, please open an issue or email xintao.wang@outlook.com.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial