Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Useful Post Commands / Scripts
- ## Convert Images after Download
- On Linux or macOS make sure ImageMagick is installed and added to the PATH environment variable.
- On Windows HakuNeko comes already bundled with ImageMagick, so no need for an additional installation.
- 1. Open HakuNeko settings
- 2. Find the setting for `Post Command`
- 3. Enter the following command (example for Windows, Linux/macOS needs to be adjusted):
- `mkdir "%PATH%_conv" 2>nul & convert "%PATH%\*.webp" -scene 1 "%PATH%_conv\%03d.png"`
- - Creates a new chapter folder with the suffix `conv`
- - Process all images from the original chapter folder that matches `*.webp`
- - Images will be converted to PNG using 3-digit numbering starting with an offset of 1
- - The PNg images are stored in the new folder with the `_conv` suffix
- ## Convert EBOOK after download
- The kindle converter is bundled with all versions of HakuNeko, so no need for an additional installation.
- 1. Open HakuNeko settings
- 2. Find the setting for `Post Command`
- 3. Enter the following command:
- `kindlegen "%PATH%"`
- - Converts the EPUB file into a MOBI file (same manga directory)
- - This will only work if the EPUB is compatible (e.g. no webp images)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement