Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ To undo it, remove the entries in Windows Security → App & browser control →
| **E-books**: EPUB, KEPUB, MOBI, AZW3, AZW, AZW4, FB2, CBZ, CBR, CB7, HTMLZ, TXTZ<br>LIT, LRF, CHM, PDB, …⁴ | PDF, EPUB, KEPUB (Kobo), DOCX, TXT, HTML, HWPX<br>MOBI, AZW3⁴ |
| **Video**⁵: MP4, MOV, MKV, WEBM, AVI, WMV, FLV, MPEG, Video CD (DAT), TS, M2TS, 3GP, OGV, VOB, …;<br>Wisenet WAVE / Nx Witness exports (NOV), DVD-Video disc images (ISO: choose the title, audio and subtitle tracks) read | MP4 (H.264, HEVC, AV1), WEBM, MOV, MKV, AVI, GIF, APNG, WEBP, MP3, M4A, 720p, split into parts;<br>subtitle tracks kept (MKV, MP4, MOV, WebM);<br>subtitles (SRT, ASS, WebVTT) |
| **Audio**⁵: MP3, M4A, AAC, WAV, FLAC, OGG, OPUS, WMA, AIFF, AMR, APE, WavPack, TTA, DSD (DSF, DFF), DTS, AC3, E-AC3, …;<br>tracker modules (XM, IT, S3M) read | MP3, M4A (AAC, ALAC), M4R (iPhone ringtone), WAV, FLAC, OGG, OPUS, AAC, WavPack, TTA, W64, AC3, E-AC3 |
| **Subtitles**: SRT, ASS/SSA, WebVTT, SAMI (SMI), LRC, KRC, TTML, MicroDVD, SCC | each other as UTF-8 (Korean CP949 files read correctly) |
| **Subtitles**: SRT, ASS/SSA, WebVTT, SAMI (SMI), LRC, KRC, TTML, MicroDVD, SCC;<br>Blu-ray picture subtitles (SUP) read (with OCR) | each other as UTF-8 (Korean CP949 files read correctly);<br>SUP → SRT, ASS, WebVTT and the other text formats (with OCR) |
| **Archives**: ZIP, ANSYS Workbench (WBPZ), 7Z, RAR, TAR, TAR.GZ, TAR.BZ2, TAR.XZ, TAR.ZST, GZ, ZST, ISO, CAB, DMG, ALZ, EGG, Garry's Mod addon (GMA), Valve pak (VPK), files packed into a Source map (BSP), …;<br>JAR, NuGet (NUPKG), Android packages (APKS, XAPK, APKM, AAB), Adobe extensions (ZXP), Windows app packages (MSIX, APPX), BIN/CUE (one data track) read | extract, ZIP, 7Z, TAR, TAR.GZ, GMA;<br>any files → one ZIP; folders → ZIP, ISO (Joliet or UDF 2.01), GMA; BIN/CUE → ISO |
| **CAD**: DWG, DXF<br>Gerber PCB layers (GBR, GTL, GBL, GTO, …) read;<br>G-code of 3D printers and CNC machines (GCODE, GCO, NGC) read | PDF, SVG, PNG, DWG ↔ DXF;<br>G-code → toolpath (from above or isometric) or the slicer's preview |
| **Fonts**: TTF, OTF, WOFF, WOFF2, EOT;<br>FON (Windows bitmap fonts) read | each other;<br>FON → one font per size |
Expand Down
13 changes: 10 additions & 3 deletions docs/ENGINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Filee chooses engines automatically. Settings → *Engines* shows their status,
| **E-books** | built in | **EPUB, MOBI/AZW/AZW3/PRC, FB2, HTMLZ, TXTZ → EPUB, HWPX (→ PDF), TXT, HTML, Markdown, FB2, HTMLZ, TXTZ**; HTML, Markdown, TXT, DOCX → EPUB/FB2/HTMLZ/TXTZ; HTML → TXT; comics CBZ/CBR/CB7/CBT/CBC → PDF, EPUB, CBZ; PDF → CBZ; ZIP → CBZ, RAR → CBR (copied as they are); AZW4 → PDF; **EPUB ↔ KEPUB** (Kobo) |
| CAD (ACadSharp + built-in renderer) | built in (library) | **DWG ↔ DXF**; DWG/DXF → **PDF** (vector), **SVG**, PNG, JPG, WEBP, TIFF, BMP, GIF, ICO, AVIF |
| G-code | built in | **G-code (3D printers, CNC machines) → PDF** (vector), **SVG**, PNG, JPG, WEBP, TIFF, …: the toolpath from above or isometric, or the preview the slicer saved in the file |
| **Subtitles** | built in | **SRT, ASS/SSA, WebVTT, SAMI (SMI), LRC, KuGou KRC, TTML, MicroDVD, SCC → SRT, ASS, WebVTT, SAMI, LRC, TTML, MicroDVD, TXT**, always UTF-8 (Korean CP949 / EUC-KR files read correctly) |
| **Subtitles** | built in | **SRT, ASS/SSA, WebVTT, SAMI (SMI), LRC, KuGou KRC, TTML, MicroDVD, SCC → SRT, ASS, WebVTT, SAMI, LRC, TTML, MicroDVD, TXT**, always UTF-8 (Korean CP949 / EUC-KR files read correctly); **Blu-ray picture subtitles (`.sup`)** read by Filee's own PGS reader, text recognized with Tesseract or Apple Vision (see *Text recognition (OCR)*) |
| Color palettes | built in | **PAL (RIFF, JASC-PAL or a raw 768-byte palette), GIMP GPL, Adobe ACT → GPL, ACT**, a list of HEX codes (**TXT, JSON**) or a **swatch (SVG**; → PNG, JPG, PDF from there), see [below](#color-palettes-pal-gpl-act) |
| 3D models (SharpGLTF for glTF) | built in (library) | **GLB, glTF, STL, OBJ (+ MTL), 3MF, PLY ↔ each other**; FBX, 3DS → each of them; → PNG, JPG, … (an isometric preview) |
| Pictures to 3D relief | built in | **PNG, JPG, WEBP, … (every picture ImageMagick reads) → GLB, glTF, STL, OBJ, 3MF, PLY**: a relief, brighter areas higher |
Expand All @@ -38,8 +38,8 @@ Filee chooses engines automatically. Settings → *Engines* shows their status,
| LibreOffice + H2Orestart + Java | **optional download** (~420 MB, 1.3 GB on disk) | older and rare formats only: DOC, XLS, PPT, RTF and OpenDocument → PDF and to each other, output as DOCX/ODT/ODS/ODP; HWP/HWPX → DOCX/ODT; read-only formats (see below) → PDF and their kind's editable formats; FODT, OpenDocument templates (OTT, OTS, OTP) and XLT out; SVG → EMF/WMF/ODG, a PDF page → SVG |
| Pandoc | **optional download** (~42 MB, 240 MB on disk) | Markdown ↔ DOCX/ODT/RTF, DOCX/ODT/HTML/RTF → Markdown, HTML ↔ DOCX/ODT, markup languages (reStructuredText, LaTeX, Org, AsciiDoc, Typst, MediaWiki, DocBook, Jupyter, Textile, man, OPML) ↔ Markdown/HTML/DOCX/ODT and each other (and → RTF, EPUB, TXT), Markdown and markup → PPTX slides |
| Ghostscript | **optional download** (~20 MB, 31 MB on disk) | EPS/PS → PDF, PDF → EPS/PS, PostScript-based AI/AIT → PDF (images through PDF and PDFium); smaller PDFs when a preset asks for it; PDF/A-2b for PDF/A presets; renders CMYK PDF/AI pages for CMYK JPG/TIFF |
| Tesseract | **optional download** (~50 MB, 160 MB on disk; each language 0.4–10 MB when first used) | **text recognition (OCR)**: scans and pictures → searchable PDF, and their text into DOCX, TXT, Markdown and HWPX ("Recognize text" in the preset, see below) |
| Apple Vision | part of macOS (Mac only) | **text recognition (OCR) on a Mac**, the same step as Tesseract without a download; Tesseract reads the languages Vision doesn't (see "Apple Vision on macOS") |
| Tesseract | **optional download** (~50 MB, 160 MB on disk; each language 0.4–10 MB when first used) | **text recognition (OCR)**: scans and pictures → searchable PDF, and their text into DOCX, TXT, Markdown and HWPX ("Recognize text" in the preset, see below); **Blu-ray picture subtitles (`.sup`) → SRT, ASS, WebVTT, … and TXT** |
| Apple Vision | part of macOS (Mac only) | **text recognition (OCR) on a Mac**, the same step as Tesseract without a download (scans, pictures and Blu-ray `.sup` subtitles); Tesseract reads the languages Vision doesn't (see "Apple Vision on macOS") |
| FFmpeg | **optional download** (~100 MB, 272 MB on disk) | **all video and audio**: video ↔ video (H.264, HEVC, AV1), video → animated GIF / APNG / WebP, a still frame or every frame, audio and subtitle extraction, audio ↔ audio (also APE, WavPack, TTA, DSD, DTS, ALAC, …), GIF, APNG and photos → MP4/WEBM/MOV, Live / Motion Photos → their video, a clip of a video → an iPhone Live Photo or Android Motion Photo (experimental), images → HEIC, clips or audio files joined into one, pictures → a slideshow MP4, a video split into parts every so often or into equal parts (copied, not encoded), copies without metadata (see "Media tools") |
| Calibre | **optional download** (~216 MB, 660 MB on disk) | rare e-book formats: LIT, LRF, CHM, PDB, PML, RB, SNB, TCR, OEB → EPUB; EPUB → MOBI, AZW3, LIT, LRF, PDB, PML, RB, SNB, TCR; e-books → PDF (ranked above the HWPX writer, see below) |
| WeasyPrint | **optional download** (Windows only for now; ~32 MB, 65 MB on disk) | **HTML, Markdown, EML, MSG, MHTML → PDF** laid out as a browser prints them (headings, tables, bold, Arabic and Indic shaping), instead of the built-in route; nothing changes without it (see below) |
Expand Down Expand Up @@ -2622,6 +2622,11 @@ languages in the text" says to add only what the text has.
- The language data is copied into the job's folder and passed with `--tessdata-dir`, so a system Tesseract reads
only Filee's pinned files; `-c tessedit_create_pdf=1` replaces the `pdf` config file that lives in Tesseract's own
tessdata folder.
- **Blu-ray picture subtitles (`.sup`, issue #1872)**: Filee's own PGS reader (`Subtitles/PgsReader.cs`) decodes the
timed bitmaps and palettes, prepares each object as dark text on white (`Ocr/SubtitleOcr.cs`), and runs Tesseract in
batches (or Apple Vision on macOS) in the preset's `PdfOptions.OcrLanguage` to produce SRT or TXT (and through the
subtitle engine into ASS, WebVTT, SAMI, LRC, TTML and MicroDVD). Unlike PDF/image OCR, `.sup` always needs OCR so its
edges are ordinary routes and subtitle presets show the OCR language picker directly.

### Apple Vision on macOS

Expand All @@ -2639,6 +2644,8 @@ Tesseract and is registered before it, so the route planner takes it; on Windows
The preset editor shows no download size for the languages Vision reads, unless such a language among the chosen ones
sends them all to Tesseract, and its hint names Apple Vision.
- PDFs go page by page exactly like Tesseract's (`TesseractConverter.RecognizePdfAsync`, at most two pages at a time).
Blu-ray `.sup` subtitles share the same `SubtitleOcr` pipeline as Tesseract, recognizing each prepared caption bitmap
through `VNRecognizeTextRequest`.
A JPEG picture goes into the PDF as it is, other pictures (and a JPEG that EXIF turns) as an upright PNG; every page
of a TIFF becomes a page. The page size comes from the picture's resolution, 300 dpi when it has none.
- Each page is the picture with the recognized words as invisible text (`OcrPdfWriter`, render mode 3): one font
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
"error.crop_same_frame": "للفيديو هذا الشكل بالفعل، فلا يوجد ما يُقتص",
"error.ocr_language_download": "تعذّر تنزيل لغة التعرّف الضوئي OCR",
"error.ocr_needs_tesseract": "لا يستطيع Apple Vision قراءة هذه اللغة. ثبّت Tesseract من الإعدادات ← المحركات",
"error.sup_no_captions": "لا يحتوي هذا الملف على ترجمة Blu-ray (.sup) يمكن لـ Filee قراءتها.",
"error.too_many_frames": "عدد الإطارات كبير جدًا لحفظها كصور. زِد قيمة «كل إطار رقم N»",
"error.too_many_pictures": "عدد الصور كبير جدًا لفيديو واحد، قسّمها على عدة فيديوهات",
"error.too_many_parts": "عدد الأجزاء كبير جدًا لفيديو واحد، اختر أجزاء أطول",
Expand Down Expand Up @@ -1130,6 +1131,7 @@
"presets.ocr_hint": "يصبح نص المستندات الممسوحة والصور قابلًا للبحث والتحرير. يتطلب Tesseract (الإعدادات ← المحركات).\nتبقى الصفحات التي تحتوي على نص كما هي.",
"presets.ocr_hint_macos": "يصبح نص المستندات الممسوحة والصور قابلًا للبحث والتحرير بأداة التعرّف على النص المدمجة في macOS (Apple Vision). اللغات التي لا تقرؤها تتطلب Tesseract (الإعدادات ← المحركات).\nتبقى الصفحات التي تحتوي على نص كما هي.",
"presets.ocr_language": "لغة النص",
"presets.ocr_language_subtitles": "لغة الترجمة، لقراءة الترجمات المصوّرة (.sup).",
"presets.ocr_language_size": "تنزيل {0}",
"presets.ocr_more_languages": "لغات أخرى في النص",
"presets.ocr_add_language": "إضافة لغة",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/bn-BD.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
"error.crop_same_frame": "ভিডিওটি ইতিমধ্যে এই আকারের, তাই ক্রপ করার কিছু নেই",
"error.ocr_language_download": "OCR ভাষা ডাউনলোড করা যায়নি",
"error.ocr_needs_tesseract": "Apple Vision এই ভাষা পড়তে পারে না। সেটিংস → ইঞ্জিন-এ Tesseract ইনস্টল করুন",
"error.sup_no_captions": "এই ফাইলে Filee পড়তে পারে এমন কোনো Blu-ray সাবটাইটেল (.sup) নেই।",
"error.too_many_frames": "ছবি হিসেবে সংরক্ষণ করার জন্য ফ্রেমের সংখ্যা খুব বেশি, \"প্রতি N-তম ফ্রেম\" বাড়ান",
"error.too_many_pictures": "একটি ভিডিওর জন্য ছবির সংখ্যা খুব বেশি, এগুলোকে কয়েক ভাগে ভাগ করুন",
"error.too_many_parts": "একটি ভিডিওর জন্য ভাগের সংখ্যা খুব বেশি, আরও লম্বা ভাগ বেছে নিন",
Expand Down Expand Up @@ -1129,6 +1130,7 @@
"presets.ocr_hint": "স্ক্যান এবং ছবি এমন টেক্সট পায় যা আপনি অনুসন্ধান ও সম্পাদনা করতে পারেন। Tesseract প্রয়োজন (সেটিংস → ইঞ্জিন)।\nযেসব পৃষ্ঠায় ইতিমধ্যে টেক্সট রয়েছে সেগুলো অপরিবর্তিত থাকে।",
"presets.ocr_hint_macos": "macOS-এর নিজস্ব টেক্সট শনাক্তকরণ (Apple Vision) দিয়ে স্ক্যান এবং ছবি অনুসন্ধানযোগ্য ও সম্পাদনাযোগ্য টেক্সট পায়। যেসব ভাষা এটি পড়তে পারে না সেগুলোর জন্য Tesseract প্রয়োজন (সেটিংস → ইঞ্জিন)।\nযেসব পৃষ্ঠায় ইতিমধ্যে টেক্সট রয়েছে সেগুলো অপরিবর্তিত থাকে।",
"presets.ocr_language": "টেক্সটের ভাষা",
"presets.ocr_language_subtitles": "ছবির সাবটাইটেল (.sup) পড়ার জন্য সাবটাইটেলের ভাষা।",
"presets.ocr_language_size": "{0} ডাউনলোড",
"presets.ocr_more_languages": "টেক্সটে থাকা অন্যান্য ভাষা",
"presets.ocr_add_language": "একটি ভাষা যোগ করুন",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
"error.crop_same_frame": "Das Video hat dieses Format schon. Es gibt nichts zuzuschneiden",
"error.ocr_language_download": "Die OCR-Sprache konnte nicht heruntergeladen werden",
"error.ocr_needs_tesseract": "Apple Vision kann diese Sprache nicht lesen. Installiere Tesseract unter Einstellungen → Module",
"error.sup_no_captions": "Diese Datei enthält keine Blu-ray-Untertitel (.sup), die Filee lesen kann.",
"error.too_many_frames": "Zu viele Einzelbilder zum Speichern. Erhöhe den Wert für „Jedes n-te Einzelbild“",
"error.too_many_pictures": "Zu viele Bilder für ein Video. Teile sie auf mehrere Videos auf",
"error.too_many_parts": "Zu viele Teile für ein Video. Wähle längere Teile",
Expand Down Expand Up @@ -1130,6 +1131,7 @@
"presets.ocr_hint": "Scans und Bilder erhalten durchsuchbaren und bearbeitbaren Text. Benötigt Tesseract (Einstellungen → Module).\nSeiten, die bereits Text enthalten, bleiben unverändert.",
"presets.ocr_hint_macos": "Scans und Bilder erhalten durchsuchbaren und bearbeitbaren Text mit der Texterkennung von macOS (Apple Vision). Nicht unterstützte Sprachen benötigen Tesseract (Einstellungen → Module).\nSeiten, die bereits Text enthalten, bleiben unverändert.",
"presets.ocr_language": "Sprache des Textes",
"presets.ocr_language_subtitles": "Sprache der Untertitel zum Lesen von Bilduntertiteln (.sup).",
"presets.ocr_language_size": "{0} Download",
"presets.ocr_more_languages": "Weitere Sprachen im Text",
"presets.ocr_add_language": "Sprache hinzufügen",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"error.crop_same_frame": "The video already has this shape, so there's nothing to crop",
"error.ocr_language_download": "Couldn't download the OCR language",
"error.ocr_needs_tesseract": "Apple Vision can't read this language. Install Tesseract in Settings → Engines",
"error.sup_no_captions": "This file holds no Blu-ray subtitles (.sup) Filee can read.",
"error.too_many_frames": "Too many frames to save as pictures, raise \"Every Nth frame\"",
"error.too_many_pictures": "Too many pictures for one video, split them into several",
"error.too_many_parts": "Too many parts for one video, choose longer parts",
Expand Down Expand Up @@ -1145,6 +1146,7 @@
"presets.ocr_hint": "Scans and pictures get text you can search and edit. Needs Tesseract (Settings → Engines).\nPages that already have text stay as they are.",
"presets.ocr_hint_macos": "Scans and pictures get text you can search and edit, with macOS's own text recognition (Apple Vision). Languages it can't read need Tesseract (Settings → Engines).\nPages that already have text stay as they are.",
"presets.ocr_language": "Language of the text",
"presets.ocr_language_subtitles": "Language of the subtitles, for reading picture subtitles (.sup).",
"presets.ocr_language_size": "{0} download",
"presets.ocr_more_languages": "Other languages in the text",
"presets.ocr_add_language": "Add a language",
Expand Down
2 changes: 2 additions & 0 deletions src/Filee.App/Assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
"error.crop_same_frame": "El vídeo ya tiene esta forma, así que no hay nada que recortar",
"error.ocr_language_download": "No se pudo descargar el idioma de OCR",
"error.ocr_needs_tesseract": "Apple Vision no puede leer este idioma. Instala Tesseract en Ajustes → Motores",
"error.sup_no_captions": "Este archivo no contiene subtítulos Blu-ray (.sup) que Filee pueda leer.",
"error.too_many_frames": "Demasiados fotogramas para guardar como imágenes; aumenta «Cada N fotogramas»",
"error.too_many_pictures": "Demasiadas imágenes para un vídeo; divídelas en varios",
"error.too_many_parts": "Demasiadas partes para un vídeo; elige partes más largas",
Expand Down Expand Up @@ -1130,6 +1131,7 @@
"presets.ocr_hint": "Los escaneos e imágenes tendrán texto que se puede buscar y editar. Requiere Tesseract (Ajustes → Motores).\nLas páginas que ya tienen texto no cambian.",
"presets.ocr_hint_macos": "Los escaneos e imágenes tendrán texto que se puede buscar y editar, con el reconocimiento de texto propio de macOS (Apple Vision). Los idiomas que no lee requieren Tesseract (Ajustes → Motores).\nLas páginas que ya tienen texto no cambian.",
"presets.ocr_language": "Idioma del texto",
"presets.ocr_language_subtitles": "Idioma de los subtítulos, para leer subtítulos de imagen (.sup).",
"presets.ocr_language_size": "Descarga de {0}",
"presets.ocr_more_languages": "Otros idiomas del texto",
"presets.ocr_add_language": "Añadir un idioma",
Expand Down
Loading
Loading