Giter Club home page Giter Club logo

simple-manga-viewer's Introduction

Simple Manga Viewer

Features

  • Open manga image folders or PDF manga files
  • Switch paging direction from LTR and RTL
  • Built-in image post-processing algorithms (image smoothing, Anime4K upscale, etc.)
  • Touch screen long press and tap to flip support

Tip

A much smaller LITE version without numpy&opencv upscale stuff is available. See below.

Control

Page flipping: Click/touch the left/right half of the screen, mouse wheel, or keyboard arrow keys.

Show menu: Click/touch and hold anywhere on the screen for 2 seconds.

(Does not support touch swipe gestures; does not support saving image post-processing preferences)

How to use

Tested on Windows11 21H2 and Debian 12 (GNOME Wayland), both touchscreen and keyboard.

Use precomplied binary

Click to download :D

Windows:

Debian/Ubuntu: WIP...

Run from source

Click to expand

Python 3.10.14 is recommended. X86_64 CPU is required.

Remember to manually remove numpy, opencv-python and pyanime4K from requirements.txt if you only need to run/compile a LITE version.

python -m pip install --upgrade pip
pip install -r requirements.txt
cd .\src
python -m SimpleMangaViewer.py

and for the LITE version:

python -m SimpleMangaViewerLITE.py

Compile your own

Click to expand

Step 1:

python -m pip install --upgrade pip
pip install -r requirements.txt
pip install nuitka
cd .\src
nuitka --standalone --show-progress --disable-console --include-package=pyanime4k --plugin-enable=pyside6 --windows-icon-from-ico="path_to_icon-512.ico" --output-dir=build_output SimpleMangaViewer.py

and for the LITE version:

nuitka --standalone --show-progress --disable-console --onefile --plugin-enable=pyside6 --windows-icon-from-ico="path_to_icon-512.ico" --output-dir=build_output SimpleMangaViewerLITE.py

Check pyanime4K repo for the installation script on linux.

Step 2: Copy the pyanime4K folder from Lib\site-packages into SimpleMangaViewer.dist folder if not LITE version.

Step 3: Copy icon-512.png into the same folder as well. (optional)

Step 4: Run the .exe file in folder SimpleMangaViewer.dist.

simple-manga-viewer's People

Contributors

puff-dayo avatar

Stargazers

Erika avatar

Watchers

 avatar

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.