Skip to content

Aeonss/StitchTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StitchTool

StitchTool is simple and intuitive program for webtoons creators and translation groups to stitch or split large quantities of images. It has a variety of features and tools to make this process easier, such as a smart splitter and an integrated denoiser and upscaler.



🚀   Features

  • Stitch together any amount of images either vertically or horizontally.
  • Split an image into any amount of images either vertically or horizontally.
  • Preview image before splitting, which is shown by a red line in a separate window.
  • Smart split images by free space, allowing for automatic splitting without needing to check if the image was split through a speech bubble or SFX.
  • Add repeatable watermarks to your images.
  • Supports Waifu2X Caffe and Waifu2X Vulkan integration.
  • Denoise and/or upscale images in the program, or while stitching or splitting.
  • Supports .png, .jpg, .jpeg, and .webp!

🔨   Installation

📝   How To Use

Stitching and Splitting

  1. Select the "Stitch/Split" teal radio button.
  2. From the blue dropdown menu, select the specific option you want.
  3. Select the input images you want to stitch and split with the green button. You can choose an entire folder of images, or you can choose specific images.
  4. Select output location. If not selected, it defaults to the user's folder.
  5. Input the image name in the red textbox. If not inputted, it generates a random 10 character name.
  6. (Optional) Import the location of waifu2x-caffe-cui.exe or waifu2x-ncnn-vulkan.exe by clicking the pink "Import Waifu2X" button to denoise and/or scale during the process.
  7. Click the run button at the bottom.
  8. Choose the amount of images to be split into.

Stitching

  1. Select the "Stitch" teal radio button.
  2. Select the "Vertical" or "Horizontal" blue radio button.
  3. Select the input images you want to stitch with the green button. You can choose an entire folder of images, or you can choose specific images.
  4. Select output location with the green "Browse Output Location" button. If not selected, it defaults to the user's folder.
  5. Input the image name in the red textbox. If not inputted, it generates a random 10 character name.
  6. (Optional) Import the location of waifu2x-caffe-cui.exe or waifu2x-ncnn-vulkan.exe by clicking the pink "Import Waifu2X" button to denoise and/or scale during the process.
  7. Click the run button at the bottom.

Splitting

  1. Select the "Split" teal radio button.
  2. From the blue dropdown menu, select the specific option you want.
  3. Select the folder of images you want to split with the green button.
  4. Select output location with the green "Browse Output Location" button. If not selected, it defaults to the user's folder.
  5. Input the image name in the red textbox. If not inputted, it defaults to "StitchTool-".
  6. (Optional) Import the location of waifu2x-caffe-cui.exe or waifu2x-ncnn-vulkan.exe by clicking the pink "Import Waifu2X" button to denoise and/or scale during the process.
  7. Click the run button at the bottom.
  8. Choose the amount of images to be split into.
  9. Review the preview and continue or reenter the number of images you want the image to be split into.

Smart Splitting

  1. Select the "Split" teal radio button.
  2. From the blue dropdown menu, select the specific option you want.
  3. Select the folder of images you want to split.
  4. Select output location with the green "Browse Output Location" button. If not selected, it defaults to the user's folder.
  5. Input the image name in the red textbox. If not inputted, it defaults to "StitchTool-".
  6. (Optional) Import the location of waifu2x-caffe-cui.exe or waifu2x-ncnn-vulkan.exe by clicking the pink "Import Waifu2X" button to denoise and/or scale during the process.
  7. Click the run button at the bottom.

Denoising and/or Upscaling

  1. Input the image name in the red textbox. If not inputted, it defaults to "StitchTool-".
  2. Import the location of waifu2x-caffe-cui.exe or waifu2x-ncnn-vulkan.exe by clicking the pink "Import Waifu2X" button.
  3. Select the denoising level and/or scale ratio OR scale height/width.
  4. Waifu2x prioritizes scale height/width if the ratio and dimensions are given.
  5. Click the pink "Run Waifu2X" button.
  6. Click the run button at the bottom.

Watermarking

  1. Select output location with the green "Browse Output Location" button.
  2. Input the image name in the red textbox. If not inputted, it generates a random 10 character name.
  3. Select the opacity of the watermark using the opacity slider.
  4. Select if you want the watermark to be greyscale or not with the yellow checkbox.
  5. Click the yellow watermark button.
  6. Select the image you want the watermark to be on.
  7. Select the watermark image.
  8. Input the number of times you want the watermark to appear.
  9. Input the watermark width percentage compared to the main image.

✅   Additional Information

  • StitchTool was compiled with Java 17 and JavaFX 17.
  • StitchTool will stitch together images that are named in alphanumerical order.
  • Collapse sections with the arrow button next to the line separator.
  • Waifu2X prioritizes scale height and width over scale ratio, and outputs only in PNG for the best quality.
  • Please request any features or report any bugs in issues.

❤️  Contributions

  • Thank you to ZeroCool940711 for helping debugging and testing StitchTool
  • Thank you to thenuke740 and mjsaltus for UI suggestions

🤖   To Do

  • Squash all the bugs!
  • Add a recursive feature for stitch/split (Folders within folders)
  • Add config for remembering collapsed sections
  • Resize fields with windows
  • Fix weird bug with checkbox field misaligning

📘   License

StitchTool is released under the MIT license.