Git Product home page Git Product logo

comicscaler's Introduction

     ██████╗ ██████╗ ███╗   ███╗██╗ ██████╗███████╗ ██████╗ █████╗ ██╗     ███████╗██████╗ 
    ██╔════╝██╔═══██╗████╗ ████║██║██╔════╝██╔════╝██╔════╝██╔══██╗██║     ██╔════╝██╔══██╗
    ██║     ██║   ██║██╔████╔██║██║██║     ███████╗██║     ███████║██║     █████╗  ██████╔╝
    ██║     ██║   ██║██║╚██╔╝██║██║██║     ╚════██║██║     ██╔══██║██║     ██╔══╝  ██╔══██╗
    ╚██████╗╚██████╔╝██║ ╚═╝ ██║██║╚██████╗███████║╚██████╗██║  ██║███████╗███████╗██║  ██║
     ╚═════╝ ╚═════╝ ╚═╝     ╚═╝╚═╝ ╚═════╝╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝╚═╝  ╚═╝

A simple powershell script to upscale your commic & manga library. It uses waifu2x to upscale your .cbz and .cbr files.

Button Discord

How to use

  1. Download the current version of the script
  2. Edit the script variables to your needs
  3. Run the Script and select the folder with your comics (.\ComicScaler.ps1)
  4. Wait for the script to finish

Configuration

The script allows you to configure multiple variables to your needs. You can find them at the top of the script.

Optional changes:

  • $waifu2xArguments - Change the upscaler arguments (default arguments are best if you don't know what you are doing)
  • $upscaleName - If you want don't want to overwrite your original files, you can change the name of the upscaled files (default: _upscaled - e.g. comic.cbz -> comic_upscaled.cbz). Leave empty to overwrite the original files.
  • $deleteOriginal - If you want to delete the original files after upscaling, set this to $true (default: $false)
  • $recursiveLookup - Will try to upscale all files in subfolders (default: $false)
  • $showWaifu2xOutput - Will show an additional window with the waifu2x output (default: $false)
  • $use7zip - Uses 7zip to zip/unzip the files instead of the built-in PowerShell function (default: $true). This is faster and allows for a higher compression rate and better compatibility with other zip formats. If you don't have 7zip installed, set this to $false and the script will use the built-in powershell function.

Before & After

Before After
250KB 2.780KB

Credits

comicscaler's People

Contributors

rabenherz112 avatar lolle2000la 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.