Building QuickManga: The Engineering Challenges Behind AI Manga Translation A developer built QuickManga, an online AI manga translator that accepts single images and chapter files (ZIP, CBZ, PDF), translates dialogue inside comic images, and lets readers compare output against the original before downloading. The writeup details the engineering behind the workflow, including browser-side archive unpacking and PDF-to-image conversion, numeric filename sorting to keep pages in reading order, and treating translation quality as separate dimensions of meaning accuracy and visual fit rather than a single success flag. Translating a manga page sounds straightforward: upload an image, translate the dialogue, and return the result. But the moment you move beyond a single clean example, the problem becomes much more interesting. A chapter might arrive as a ZIP archive. Its filenames might put page 10 before page 2. A speech bubble might contain vertical Japanese text, a handwritten reaction, or a sentence whose subject appeared on the previous page. A translated line might read naturally while the image surrounding it has changed. Meanwhile, the reader is waiting to continue the story. QuickManga https://quickmanga.app/ is an online AI manga translator built around that reading workflow. It accepts individual images and chapter files, translates dialogue within comic images, and lets readers compare the output with the original before downloading it. The engineering challenge is connecting those steps into an experience that remains understandable when files are large, processing takes time, and AI output needs checking. These are the technical questions behind that experience. A manga translator receives a page. That page contains several overlapping structures: panels, speech bubbles, narration boxes, sound effects, characters, and backgrounds. The words make sense partly because of where they appear. Consider a short line such as: “You did that?” Depending on the scene, it could express admiration, disbelief, anger, or suspicion. The appropriate translation depends on more than the words themselves. The output also has to fit back into an image. A compact phrase in one language may become a much longer sentence in another. Even if the meaning is correct, the result can be difficult to read if the lettering is too small or the line breaks are awkward. That gives image-based translation several separate quality dimensions: These dimensions should be evaluated separately. A page can look polished while containing a mistranslation. It can also convey the meaning correctly while producing distracting visual changes. For developers, this means a single “translation succeeded” flag is a limited description of success. It tells us that processing finished, but says little about whether someone can comfortably read the result. A more useful product question is: Can the reader understand the dialogue, follow the scene, and check anything that looks questionable? That question influences the viewer, the comparison controls, and the way the product describes its limitations. Single-image upload is a relatively small interface. Chapter upload introduces ordering, extraction, validation, and resource limits. QuickManga supports JPG, PNG, and WebP images, as well as ZIP, CBZ, and PDF inputs. Its documented processing flow unpacks ZIP and CBZ archives in the browser and converts PDF pages into images before submitting those images for translation. Processing details Those input formats need different handling, but the rest of the application benefits from receiving one consistent representation: an ordered collection of pages. An illustrative internal interface might look like this: // Design example, not QuickManga production source. type ChapterPage = { id: string; index: number; sourceName: string; image: Blob; width: number; height: number; }; The translation queue should not need to know whether a page originally came from a PDF or a chapter archive. That distinction belongs in the import layer. Page ordering is an especially easy detail to underestimate. A basic alphabetical sort can produce: page-1.png page-10.png page-11.png page-2.png For a file manager, this is inconvenient. For a comic reader, it can reveal a scene before its setup. For numbered filenames, numeric comparison is one useful starting point: // Example for numbered image filenames. // PDF order and explicit user ordering need separate handling. const compareNames = new Intl.Collator undefined, { numeric: true, sensitivity: "base", } ; const orderedFiles = ...imageFiles .sort a, b = compareNames.compare a.name, b.name ; However, filename sorting cannot infer the correct order of every chapter. Archives can contain multiple folders, cover images, duplicate names, or bonus pages. PDF pages already have a defined sequence. Files selected by a user may have another intended order. The deeper design requirement is to establish page identity and ordering before translation begins, then preserve them through processing, preview, and export. Validation also needs to happen after extraction. A small archive does not necessarily represent a small amount of work. Compressed size, extracted size, page count, and decoded image dimensions describe different resource costs. A robust importer therefore needs multiple limits rather than relying on the upload’s byte count alone. A chapter introduces an important distinction between finishing the entire job and producing something useful. If the first few pages are ready, the reader can start reading. QuickManga supports opening completed pages while the remaining pages continue translating. It also offers a pause action that takes effect after the current image finishes. That interaction gives the reader a clear boundary: finish the work already underway, then stop starting new pages. To support this kind of experience, a page needs its own state. One loading flag for the entire chapter cannot explain enough. A simplified model could be: // Illustrative state model. type PageState = | { status: "queued" } | { status: "processing"; startedAt: number } | { status: "ready"; resultUrl: string } | { status: "failed"; message: string }; type ReadingJob = { pageOrder: string ; pages: Record