Code Monkey home page Code Monkey logo

imageviewer's Introduction

PySide6 Image Viewer

This is a small image viewer that aims to be good looking and provide basic funtionality. It is entirely made using PySide6. Feel free to use this however you would like, as long as you credit me as the original creator

image image image

Usage

Installation

**If you want to use the image viewer as an actually program, head over to the releases page and download the installer! **

If you want to tinker with the source code, follow the steps below:

You need to have python 3.6+ installed. Install the required packages with

pip install PySide6
pip install qt_material

Then you need to clone the repository with

git clone https://github.com/MergenStudios/image_viewer

Navigate the the folder and run main.py

python main.py

If you want to build the installer, you have to install Install Forge. You will also have to install Pyinstaller with

pip install Pyinstaller

Run pyinstaller with

pyinstaller main.spec

Open the file install_forge_project.ifp inside install forge, and tinker with the settings however you would like. If you want to learn how exactly all of that works I highly recommend you check out this tutorial.

Keyboard Shortcuts, I guess

There are some keyboard shortcuts. I'm working on making these more intuitive, but for now they're here

Alt + left click    Select image to move it around. Only works when there are multiple images being displayed. Letting go of alt disables the selectoin
Ctrl + C            Copy what is currently visible to the clipboard as an image
F                   Flip everything
R                   Enable rotation

Other than that keep in mind that you move around by holding down left click and dragging, and that to rotate instead of zoom with the mouse wheel rotation has to be enabled by either clicking the button or pressing R

Credits

imageviewer's People

Contributors

mergenstudios avatar

Forkers

zhangwanjun4843

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.