Digital Raws: Difference between revisions

From Yuri Project
→‎Amazon: Put images in
m Fix numbering
Line 39: Line 39:


# Buy the manga (on Amazon)
# Buy the manga (on Amazon)
# Go to your content library
# Go to your content library [[File:Amazon Content Library.png|600px|thumb|center]]
[[File:Amazon Content Library.png|600px|thumb|center]]
# Find the manga
# Find the manga
# Select "Download & transfer via USB" and download the archive
# Select "Download & transfer via USB" and download the archive [[File:Amazon Content Download.png|600px|thumb|center]]
[[File:Amazon Content Download.png|600px|thumb|center]]
# Download [https://www.python.org/downloads/ Python]
# Download [https://www.python.org/downloads/ Python]
# Ensure Python is on your PATH variable in some way
# Ensure Python is on your PATH variable in some way
Line 49: Line 47:
# Open the KindleUnpack directory in a terminal
# Open the KindleUnpack directory in a terminal
# Run <code> $ python .\KindleUnpack.pyw</code>
# Run <code> $ python .\KindleUnpack.pyw</code>
# A GUI should appear
# A GUI should appear [[File:KindleUnpack GUI Open.png|600px|thumb|center]]
[[File:KindleUnpack GUI Open.png|600px|thumb|center]]
# Select the Kindle file as the "input file"
# Select the Kindle file as the "input file"
# Select the output directory  
# Select the output directory  
# Check "Use HD Images If Present"
# Check "Use HD Images If Present"
# Click the "Start" button
# Click the "Start" button [[File:KindleUnpack Done.png|600px|thumb|center|Successful Kindle archive extraction]]
[[File:KindleUnpack Done.png|600px|thumb|center|Successful Kindle archive extraction]]
# The file will be extracted to the output directory. It will have several directories, but within at least one somewhere there will be an image directory with the extracted images. [[File:Amazon Kindle Directory Extracted.png|600px|thumb|center|One possible location, the images may be elsewhere within the directory structure depending on the type of archive, and how it was put together.]]
# The file will be extracted to the output directory. It will have several directories, but within at least one somewhere there will be an image directory with the extracted images.
[[File:Amazon Kindle Directory Extracted.png|600px|thumb|center|One possible location, the images may be elsewhere within the directory structure depending on the type of archive, and how it was put together.]]

Revision as of 01:43, 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.

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
    Successful Kindle archive extraction
  15. The file will be extracted to the output directory. It will have several directories, but within at least one somewhere there will be an image directory with the extracted images.
    One possible location, the images may be elsewhere within the directory structure depending on the type of archive, and how it was put together.