Skip to content

About

A plugin for KOReader that removes the rainbow artifacts on Kaleido 3 color e-ink displays. (Kobo Libra Color / Kobo Clara Color / Kindle Colorsoft / PocketBook Inkpad Color 3 / PocketBook Era Color / Bigme B7 Pro, etc.)

Topics

Resources

Stars

32 stars

Watchers

0 watching

Forks

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

derainbowify.koplugin

License: GPL v3 GitHub Release Lua C C++ GitHub Downloads

A plugin for KOReader that adds an option to remove the rainbow artifacts produced on Kaleido 3 color e-ink screens. It is primarily useful for black and white comics/manga that use image patterns which produce these artifacts.

It uses fourier transforms on-the-fly to directly target the moiré patterns responsible for the rainbow effect. Compared to the method used for reducing the rainbow effect that is found in the official Kobo software, this method does not negatively affect the image by introducing noticeable blur, instead it stays sharp.

The methodology for this is explained in detail in this video by @axu2, the maintainer of Kindle Comic Converter.

The filtering does make rendering each page for the first time slower, but performance should be improved with future updates. The time taken to read a page should make it feel seamless as rendering is automatically done in the background.

Made for koreader/koreader#11877.

Installation

  1. Download the latest release here.
  2. Extract the derainbowify.koplugin directory from the archive.
  3. Move the derainbowify.koplugin directory to the koreader/plugins folder on your device.
  4. Restart KOReader.
  5. You should see a new option called "Derainbow" on the Contrast menu when opening a document.

Compatibility

By design, this plugin is designed for e-readers that use color e-ink such as the Kobo Libra Color, Kobo Clara Color, Kindle Colorsoft, PocketBook Inkpad Color 3, and relevant Bigme, Boox, and Meebook devices.

Building

In order to compile and test the plugin yourself, you may run the package.sh script found at the root of this repository. It will produce a ZIP file containing the plugin located at /tmp/derainbowify.koplugin.zip.

The dependencies for compilation are make, gcc, and each of the following toolchains found from KOReader's koxtoolchain:

  • Kobo
  • Kindle5
  • KindleHF
  • Pocketbook

Please ensure you have the necessary toolchains added to your path. The Android NDK is also required for compilation for Android devices (ARM & ARM64). The ANDROID_NDK_HOME environment variable must be set.

Acknowledgements

Support

If you want to support me, you can star this repository or buy me a coffee. :)

ko-fi

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for full details.

About

A plugin for KOReader that removes the rainbow artifacts on Kaleido 3 color e-ink displays. (Kobo Libra Color / Kobo Clara Color / Kindle Colorsoft / PocketBook Inkpad Color 3 / PocketBook Era Color / Bigme B7 Pro, etc.)

Topics

Resources

Stars

32 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages