NEW: We now support downloading directly from External Web Sources! Learn More →

How MangaSendr’s 'Smart Split' Algorithm Works

Engineering Team
2025-02-18
4 min read
How MangaSendr’s 'Smart Split' Algorithm Works

One of the biggest hurdles with "Send-to-Kindle" is the file size limit. If you have a massive tankobon volume (e.g., Berserk Deluxe Edition), it will far exceed the 25MB email limit.

The Naive Approach

A simple file splitter might just chop the file at the 25MB mark. This is disastrous for reading. You might cut a file right in the middle of a double-page spread, or satisfy a byte count while corrupting the internal zip structure.

The MangaSendr Smart Algorithm

MangaSendr uses a context-aware approach to splitting:

  1. Analysis: We verify the total size and calculate the optimal number of parts (e.g., dividing a 120MB file into 5 parts of ~24MB).
  2. Chapter Integrity: We peek into the internal file list and attempt to split between chapters whenever possible, ensuring you don't get cut off mid-cliffhanger.
  3. Metadata Injection: Each split part is treated as a unique book but linked in the series metadata (e.g., "Vol 1 Part 1", "Vol 1 Part 2").
  4. Cover Preservation: This is our secret sauce. We inject the volume cover image into every single part. This ensures that every file on your Kindle shelf looks beautiful, rather than Parts 2-5 showing a random manga page as the thumbnail.
Tags:
EngineeringFeaturesBehind the Scenes

Ready to upgrade your reading experience?

Stop fighting with file formats. MangaSendr handles everything automatically.

Start reading with MangaSendr