Digital Raws

From Yuri Project
Revision as of 01:32, 30 December 2024 by Treefroog (talk | contribs) (→‎Amazon)

The first step in the process of scanlating any manga is obtaining the raws. The first step is to download the file the raws are in, then the second step is to extract the raws from this file.

After extraction, they made need to be post-processed.

Online Sources

Raws can often be found on piracy websites dedicated to hosting them (none are listed here to avoid link rot, but they can be found on the Internet). Be aware that some websites will add watermarks; since it is best practice to not keep watermarks from these sites (the only kind of acceptable watermark is an author watermark), one will either have to manually clean them or find a different source.

Screenshotting

A usually easy way, but can be low quality due to the resampling that may occur, and is labor-intensive.

PDF

PDF raws are most common when obtaining self-published raws from websites such as https://booth.pm/en

Most raw PDFs are single pages with the images embedded in each page. So the next step is to extract the images that are embedded. There are two tools that are often used.

  1. pdfcpu
    1. Install pdfcpu
      https://github.com/pdfcpu/pdfcpu/releases/latest
    2. Ensure the executable's directory is on your PATH variable
    3. Open the directory the PDF file is in
    4. Run $ pdfcpu.exe images extract .\RAW_INPUT.pdf
      This will output the files in the same directory as the file. To change the output directory, append an output directory path to the command.
  2. Poppler Tools' pdfimages tool
    1. Install Poppler Tools
      Linux
      https://poppler.freedesktop.org/
      Windows
      https://github.com/oschwartz10612/poppler-windows/releases
      OSX
      https://formulae.brew.sh/formula/poppler
    2. Ensure the bin directory is on your PATH variable
    3. Open the directory the PDF file is in
    4. Run $ pdfimages -png RAW_FILE.pdf ./
      This will output the files in the same directory as the file. Change the final argument to change the path of the output directory.

Amazon

This requires extremely light knowledge of Python. No code is required.

  1. Buy the manga (on Amazon)
  2. Go to your content library
  3. Find the manga
  4. Select "Download & transfer via USB" and download the archive
  5. Download Python
  6. Ensure Python is on your PATH variable in some way
  7. Clone the https://github.com/kevinhendricks/KindleUnpack git repo
  8. Open the KindleUnpack directory in a terminal
  9. Run $ python .\KindleUnpack.pyw
  10. A GUI should appear
  11. Select the Kindle file as the "input file"
  12. Select the output directory
  13. Check "Use HD Images If Present"
  14. Click the "Start" button