Go to file
Colin 318fc0c975 crop_borders: don't crash on empty image
PIL's `Image.getbbox` documentation shows:
```
:returns: The bounding box is returned as a 4-tuple defining the
   left, upper, right, and lower pixel coordinate. See
   :ref:`coordinate-system`. If the image is completely empty, this
   method returns None.
```

when this returns `None`, komikku would error with a trace like so:
```
Traceback (most recent call last):
  File "komikku/reader/pager/image.py", line 426, in do_snapshot
    self.texture_crop = Gdk.Texture.new_for_pixbuf(crop_borders())
  File "komikku/reader/pager/image.py", line 419, in crop_borders
    if bbox[2] - bbox[0] < self.pixbuf.get_width() or bbox[3] - bbox[1] < self.pixbuf.get_height():
TypeError: 'NoneType' object is not subscriptable
```
2023-07-12 08:55:29 +00:00
.gitlab/issue_templates [Gitlab] Updates bug template 2023-03-08 14:37:53 +01:00
bin Updates copyrights 2023-01-05 13:01:13 +01:00
data [UI]: Make primary menu HIG compliant 2023-06-21 11:44:00 -04:00
flatpak [Flatpak] Manifest: Updates GNUStep 2023-05-18 00:23:56 +02:00
komikku crop_borders: don't crash on empty image 2023-07-12 08:55:29 +00:00
po [L10n] Translated using Weblate (Romanian) 2023-06-23 21:24:03 +00:00
screenshots [Screenshots] Update 2022-12-09 11:19:30 +01:00
tests [Servers] Adds PhenixScans [FR] 2023-06-24 00:45:42 +02:00
.editorconfig Refine 6c7621e and 4eac0983 2022-12-20 16:39:37 +01:00
.gitignore [Git] Cleanup .gitignore 2023-02-02 21:51:19 +01:00
.gitlab-ci.yml [CI] Update gitlab CI yaml: try GNOME runtime 44 2023-03-26 23:51:12 +02:00
.pre-commit-config.yaml Refine 6c7621e and 4eac0983 2022-12-20 16:39:37 +01:00
CODE_OF_CONDUCT.md Cleanup 2022-12-20 14:34:41 +01:00
CONTRIBUTING.md [Servers] Refines c9a09817 2023-03-26 23:42:21 +02:00
Komikku.doap [DOAP] Refines fd32cda0 2023-02-07 02:18:24 +01:00
LICENSE Initial commit 2019-03-14 23:58:39 +01:00
Makefile [Build] Fixed deprecated warning in Makefile 2022-11-10 00:53:11 +01:00
README.md [README] Refines 96729e42 2023-03-07 14:05:36 +01:00
meson.build New release 1.22.0 2023-06-15 01:03:56 +02:00
meson_options.txt Refine 1bb4c58b 2022-08-16 10:57:10 +02:00
pylintrc Update pylintrc 2020-11-07 00:12:00 +01:00
requirements-dev.txt Add pre-commit hooks 2022-12-20 14:52:54 +01:00
requirements.txt [Servers] Removes Python Cloudscraper dependency 2023-03-28 00:59:34 +02:00
setup.cfg [Tests] Adds config for pytest in setup.cfg 2023-04-27 09:34:00 +02:00
take_screenshots.sh Update screenshots 2020-11-24 01:00:38 +01:00

README.md

Komikku

Pipeline status Translation status Donate using Liberapay

Komikku is a manga reader for GNOME. It focuses on providing a clean, intuitive and adaptive interface.

License

Komikku is licensed under the GPLv3+.

Keys features

  • Online reading from dozens of servers
  • Offline reading of downloaded comics
  • Support for locally stored comics (in CBZ or CBR formats)
  • RTL, LTR, Vertical and Webtoon reading modes
  • Several types of navigation:
    • Keyboard arrow keys
    • Right and left navigation layout via mouse click or tapping (touchpad/touch screen)
    • Mouse wheel
    • 2-fingers swipe gesture (touchpad)
    • Swipe gesture (touch screen)
  • Categories to organize your library
  • Automatic update of comics
  • Automatic download of new chapters
  • Reading history
  • Light and dark themes

Screenshots

Installation

Flatpak

Download on Flathub

Native package

Komikku is available as native package in the repositories of the following distributions:

Packaging status

Flatpak of development version

  1. Setup Flatpak for your Linux distro.
  2. Download the Komikku flatpak from the last passed Gitlab pipeline.
  3. Install the flatpak:
flatpak install info.febvre.Komikku.flatpak
  1. Launch it:
flatpak run -d info.febvre.Komikku

Contributing

Code

Please follow our contributing guidelines.

Translations

If you'd like to help translating Komikku into your language, please head over to Weblate.

Translation status

Code of Conduct

We follow the GNOME Code of Conduct. All communications in project spaces are expected to follow it.

Sponsor this project

Komikku is a Free software. If you like it and would like to support and fund it, you may donate through one of the plateform below. Any amount will be greatly appreciated ;-)

Plateforms
Ko-fi ko-fi One-time or monthly donation
Liberapay lp Donate Weekly/monthly/yearly donation
PayPal PayPal One-time donation

Disclaimer

The developers of this application does not have any affiliation with the content providers available.