• Stars
    star
    550
  • Rank 80,860 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

download visitors PyPI license python lint Publish-pip Release

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


Handy Series: โ€ƒโ€ƒ HandyView Icon HandyView โ€ƒ HandyFigure Icon HandyFigure โ€ƒ HandyCrawler Icon HandyCrawler โ€ƒ HandyWriting Icon HandyWriting

๐Ÿ”ง Installation

Windows

  1. Download the pre-compiled executable zip file from the release page.
  2. Unzip the file
  3. Set HandyView as the default image viewer, so that you can double-click the image to open HandyView.

MacOS

  1. Download the handyviewer.dmg from the release page and install.
  2. If you fail to install the app, you may first need to disable gatekeeper first. You should be aware of the risk of disabling gatekeeper.
  3. Set HandyView as the default image viewer (use cmd+i), so that you can double-click the image to open HandyView.

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 https://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

Ubuntu

For python user, you can also launch HandyView from the command line:

  1. Clone repo and install dependent packages

    git clone https://github.com/xinntao/HandyView.git
    cd HandyView
    pip install -r requirements.txt
  2. Run

    python -m handyview.handyviewer [image_path]

โœจ 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

Compile to executable program

For Windows and MacOS users, you can find the instructions of compiling the executable program from how-to-build.

๐Ÿ“– 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.

Icon Link Icon Link Icon Link
Open Open History History Refresh Refresh
Index Index Include Include Exclude Exclude
Compare Compare Clear comparison Clear comparison Help Help
Main canvas Main canvas Compare canvas Compare canvas Preview canvas Preview canvas
Fingerprint Fingerprint auto zoom Auto Zoom
auto image Image crop Crop video Video

(pip install pyqt5 -i http://mirrors.xxx.com/pypi/simple/ --trusted-host mirrors.xxx.com)

๐Ÿ“ง Contact

If you have any question, please open an issue or email [email protected].

More Repositories

1

Real-ESRGAN

Real-ESRGAN aims at developing Practical Algorithms for General Image/Video Restoration.
Python
27,474
star
2

ESRGAN

ECCV18 Workshops - Enhanced SRGAN. Champion PIRM Challenge on Perceptual Super-Resolution. The training codes are in BasicSR.
Python
5,914
star
3

BasicSR

Open Source Image and Video Restoration Toolbox for Super-resolution, Denoise, Deblurring, etc. Currently, it includes EDSR, RCAN, SRResNet, SRGAN, ESRGAN, EDVR, BasicVSR, SwinIR, ECBSR, etc. Also support StyleGAN2, DFDNet.
Python
3,230
star
4

EDVR

Winning Solution in NTIRE19 Challenges on Video Restoration and Enhancement (CVPR19 Workshops) - Video Restoration with Enhanced Deformable Convolutional Networks. EDVR has been merged into BasicSR and this repo is a mirror of BasicSR.
Python
1,488
star
5

Real-ESRGAN-ncnn-vulkan

NCNN implementation of Real-ESRGAN. Real-ESRGAN aims at developing Practical Algorithms for General Image Restoration.
C
1,440
star
6

facexlib

FaceXlib aims at providing ready-to-use face-related functions based on current STOA open-source methods.
Python
800
star
7

SFTGAN

CVPR18 - Recovering Realistic Texture in Image Super-resolution by Deep Spatial Feature Transform
Lua
558
star
8

BasicSR-examples

BasicSR-Examples illustrates how to easily use BasicSR in your own project
Python
203
star
9

ProjectTemplate-Python

Python Project Template
Python
189
star
10

HandyFigure

HandyFigure provides the sources file (ususally PPT files) for paper figures
JavaScript
152
star
11

DNI

CVPR19 - Deep Network Interpolation for Continuous Imagery Effect Transition
118
star
12

open-docs

Doc sources for the Open Video Restoration and My Records in
Python
28
star
13

HandyLatex

Collections of Beautiful Latex Snippets
Python
16
star
14

matlab_functions_verification

Python
12
star
15

records

Records in gitbook
HTML
9
star
16

HandyCrawler

Python
8
star
17

xinntao.github.io

Home Page
JavaScript
7
star
18

xinntao

7
star
19

HandyInfer

Python
6
star
20

Real-ESRGAN-replicate

Python
6
star
21

HandyWriting

4
star
22

open-figures

Python
2
star
23

gitbook-plugin-theme-coolx

CSS
2
star
24

test_sync

Shell
2
star
25

public-figures

Store figures used in other public GitHub repositories
2
star
26

basictools

Some basic tools, like drawing, processing files and etc.
Lua
1
star
27

notes

1
star
28

public_figures

1
star
29

configurations

Vim Script
1
star