From 1dfa73981d52f092920b54e07ed62465005aa404 Mon Sep 17 00:00:00 2001 From: yusufmntm Date: Mon, 23 Nov 2026 02:16:51 +0300 Subject: [PATCH 1/2] feat(vector): read Adobe Illustrator templates (.ait) An Illustrator template is stored like a normal .ai file; only the name differs. Add .ait to the read-only AI format so it takes every existing AI route (PDF-compatible through PDF, PostScript-based through Ghostscript), and teach upgraded libraries the extension on the vector donut (schema 102). Fixes #1726 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 6 +++ README.md | 2 +- docs/ENGINES.md | 8 ++-- src/Filee.Core/Formats/FormatRegistry.cs | 3 +- src/Filee.Core/Settings/AppSettings.cs | 2 +- src/Filee.Core/Settings/UserDataStore.cs | 4 ++ tests/Filee.Core.Tests/AitAliasTests.cs | 51 +++++++++++++++++++++ tests/Filee.Core.Tests/SmallParsersTests.cs | 1 + tests/Filee.Engines.Tests/GraphicsTests.cs | 22 +++++++++ 9 files changed, 92 insertions(+), 7 deletions(-) create mode 100644 tests/Filee.Core.Tests/AitAliasTests.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index 8733207ff..174ee04cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,8 @@ ko: 클립 자르기에서 음악을 클립이 끝날 때까지 반복할 수 en: Cut a clip can loop its music until the clip ends ko: 바로 가기를 변환하면 결과가 대상 파일 옆이 아니라 바로 가기 옆에 저장돼요 en: A shortcut's results are saved next to the shortcut, not next to the file it points to +ko: Adobe Illustrator 템플릿(.ait)을 .ai 파일처럼 PDF, PNG 등으로 변환할 수 있어요 +en: Adobe Illustrator templates (.ait) open and convert like .ai files --> - **PDF/A with highlights and notes that carry no appearance** (#1566). Some editors save markup (highlights, @@ -76,6 +78,10 @@ en: A shortcut's results are saved next to the shortcut, not next to the file it from its start each time it ends, until the clip ends, and fades it out with the clip. Off, the music stops when the song ends, as before. Several songs one after another on A2 are not there yet. +- **Illustrator templates** (#1726). Adobe Illustrator template files (`.ait`) are now recognized alongside `.ai` and + convert to PDF, PNG and the other picture formats in the same way (PDF-compatible files out of the box, + PostScript-based ones through Ghostscript). Filee reads `.ait` but never writes it. + ## 2.5.0 - **No update notice over full-screen games** (#1897). The "new version" card in the bottom-right corner could appear @@ -188,6 +190,10 @@ en: 3D Studio models (.3ds) convert to OBJ, GLB, STL and the other 3D formats, a Z-up scenes upright; keyframer animations, cameras and lights are skipped, and non-3DS files (such as Nintendo 3DS ROMs) or damaged chunks are refused. Filee reads `.3ds` only and does not write it. +- **Adobe Illustrator templates (.ait)** (by @YusufMntm, #1726). An `.ait` template is an Illustrator file inside, so + it now opens on the vector donut and converts as an `.ai` does: PDF-compatible ones straight to PDF, PNG and the other + images, PostScript-based ones through Ghostscript. Filee reads `.ait` only and does not write it. + - **HEIC photos make small PDFs** (#1873). Converting HEIC (or HEIF) photos to PDF, or putting them into one with **Merge PDF**, stored each photo losslessly, so a 1.7 MB phone photo made a PDF of about 13 MB that looked no better. HEIC photos now go into the PDF as JPEG at high quality, like JPG photos already did, so the PDF stays close diff --git a/src/Filee.Core/Gallery/SharedPresetVersions.cs b/src/Filee.Core/Gallery/SharedPresetVersions.cs index 9d995daef..46de32509 100644 --- a/src/Filee.Core/Gallery/SharedPresetVersions.cs +++ b/src/Filee.Core/Gallery/SharedPresetVersions.cs @@ -69,6 +69,7 @@ internal static class SharedPresetVersions { ["cxlog"] = "2.6.0", ["jsp"] = "2.6.0", + ["ait"] = "2.6.0", }; /// The first Filee that knows every field written in , a preset.json that passed the allow-list.