From 2af908691906708be560191ed5e81b6168ce6e9b Mon Sep 17 00:00:00 2001 From: varo6 Date: Sat, 17 Jan 2026 22:11:31 +0100 Subject: [PATCH 1/3] =?UTF-8?q?Set=20PDF=20conversion=20defaults=20to=20At?= =?UTF-8?q?kinson=20dithering=20and=20maximum=20contrast=20=F0=9F=8C=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PDF files now default to overlapping thirds, Atkinson dithering, and maximum contrast for optimal results. CBZ files retain their original defaults. Co-Authored-By: Claude Sonnet 4.5 --- src/components/ConverterPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ConverterPage.tsx b/src/components/ConverterPage.tsx index 43ef860..f03c70e 100644 --- a/src/components/ConverterPage.tsx +++ b/src/components/ConverterPage.tsx @@ -23,8 +23,8 @@ export function ConverterPage({ fileType, notice }: ConverterPageProps) { const [viewerPages, setViewerPages] = useState([]) const [options, setOptions] = useState({ splitMode: 'overlap', - dithering: 'floyd', - contrast: 4, + dithering: fileType === 'pdf' ? 'atkinson' : 'floyd', + contrast: fileType === 'pdf' ? 8 : 4, margin: 0, }) From fbc828e4de286e7ed86d824ce84de5d9d34ce182 Mon Sep 17 00:00:00 2001 From: varo6 Date: Sat, 17 Jan 2026 22:13:50 +0100 Subject: [PATCH 2/3] =?UTF-8?q?Simplify=20GitHub=20Pages=20redirect=20to?= =?UTF-8?q?=20homepage=20only=20=F0=9F=8C=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a9887a7..d9569dd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,8 +34,7 @@ jobs: Redirecting... From 37b7a7ca357781cfde06c4bf57e66482e3ab2a25 Mon Sep 17 00:00:00 2001 From: alvaro <103251919+varo6@users.noreply.github.com> Date: Sat, 17 Jan 2026 22:46:48 +0100 Subject: [PATCH 3/3] Revise README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6f3330e..ab9ae97 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # xtcjs -based on https://github.com/tazua/cbz2xtc +Official repository of xtcjs - Read manga and PDFs on your XTEink! -Minimal/vibecoded version of a converter from cbz to xtc in js so everyone can use it on browser with no dependencies. +based on https://github.com/tazua/cbz2xtc This project was created using `bun init` in bun v1.3.5. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.