Digital Raws: Difference between revisions

From Yuri Project
mNo edit summary
Line 5: Line 5:
== Screenshotting ==
== Screenshotting ==


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


== PDF ==
== PDF ==
Line 20: Line 20:
## Run <code>$ pdfcpu.exe images extract .\RAW_INPUT.pdf</code>
## Run <code>$ pdfcpu.exe images extract .\RAW_INPUT.pdf</code>
##: 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.
##: 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.
# Poppler Tools' pdfimages tool
# Poppler Tools' pdfimages tool
## Install Poppler Tools
## Install Poppler Tools

Revision as of 01:14, 30 December 2024

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.

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.